summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2010-07-28 08:52:45 -0300
committerJohan Dahlin <johan@gnome.org>2010-07-28 08:52:45 -0300
commitf78812bca2afcdbe7ff9434ae0607cb553bce61e (patch)
tree9a60bdd6593d9506130990c9811553c491df4be9
parentfbfef98ae4f3c1777391cbe75d953f9ef466f938 (diff)
downloadgobject-introspection-f78812bca2afcdbe7ff9434ae0607cb553bce61e.tar.gz
[girepository] Update documentation
-rw-r--r--docs/reference/gi-sections.txt1
-rw-r--r--girepository/girepository.c14
2 files changed, 13 insertions, 2 deletions
diff --git a/docs/reference/gi-sections.txt b/docs/reference/gi-sections.txt
index 4b6411d0..2ef3cf9b 100644
--- a/docs/reference/gi-sections.txt
+++ b/docs/reference/gi-sections.txt
@@ -51,6 +51,7 @@ GIUnresolvedInfo
<SECTION>
<FILE>gibaseinfo</FILE>
GIInfoType
+g_info_type_to_string
GIAttributeIter
GIBaseInfo
g_base_info_ref
diff --git a/girepository/girepository.c b/girepository/girepository.c
index 46f95ded..02f86bea 100644
--- a/girepository/girepository.c
+++ b/girepository/girepository.c
@@ -1353,6 +1353,14 @@ g_irepository_error_quark (void)
return quark;
}
+/**
+ * g_type_tag_to_string:
+ * @type: the type_tag
+ *
+ * Obtain a string representation of @type
+ *
+ * Returns: the string
+ */
const gchar*
g_type_tag_to_string (GITypeTag type)
{
@@ -1407,9 +1415,11 @@ g_type_tag_to_string (GITypeTag type)
/**
* g_info_type_to_string:
- * @type: info type
+ * @type: the info type
+ *
+ * Obtain a string representation of @type
*
- * Returns: (transfer none): Description for this info type
+ * Returns: the string
*/
const gchar*
g_info_type_to_string (GIInfoType type)