summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 4b6411d..2ef3cf9 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 46f95de..02f86be 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)