summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-06-12 11:14:22 -0300
committerJohan Dahlin <johan@gnome.org>2010-06-12 11:14:22 -0300
commit1bb022a93cf5b6a86a3559ffc53534617b9a5ac7 (patch)
tree752a798de08642928330a6a0ed4b05917aae960b
parent8a737863bde42e3212dcf5acb1bc681caa1e49c3 (diff)
downloadgobject-introspection-1bb022a93cf5b6a86a3559ffc53534617b9a5ac7.tar.gz
[GIObjectInfo] Fix a typo and document a func
-rw-r--r--girepository/giobjectinfo.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/girepository/giobjectinfo.c b/girepository/giobjectinfo.c
index dc26709e..ace8d5d4 100644
--- a/girepository/giobjectinfo.c
+++ b/girepository/giobjectinfo.c
@@ -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.