[GIObjectInfo] Fix a typo and document a func
authorJohan Dahlin <johan@gnome.org>
Sat, 12 Jun 2010 14:14:22 +0000 (11:14 -0300)
committerJohan Dahlin <johan@gnome.org>
Sat, 12 Jun 2010 14:14:22 +0000 (11:14 -0300)
girepository/giobjectinfo.c

index dc26709..ace8d5d 100644 (file)
@@ -30,7 +30,7 @@
  * @Short_description: Struct representing a GObject
  * @Title: GIObjectInfo
  *
- * GIPropertyInfo represents a #GObject. This doesn't represent a specific
+ * GIObjectInfo represents a #GObject. This doesn't represent a specific
  * instance of a GObject, instead this represent the object type (eg class).
  *
  * A GObject has methods, fields, properties, signals, interfaces, constants
@@ -359,6 +359,10 @@ g_object_info_get_method (GIObjectInfo *info,
 /**
  * g_object_info_find_method:
  * @info: a #GIObjectInfo
+ * @name: name of method to obtain
+ *
+ * Obtain a method of the object type given a @name. %NULL will be
+ * returned if there's no method available with that name.
  *
  * Returns: (transfer full): the #GIFunctionInfo. Free the struct by calling
  * g_base_info_unref() when done.