summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-06-12 08:52:56 +0000
committerChristoph Reiter <reiter.christoph@gmail.com>2018-06-12 08:52:56 +0000
commitfded2090e2892cbd5f4a92c6f8fb27b798adcf8f (patch)
tree3f0fd491f34bb82a2fc4ab8adf37f940fb870202
parent54498aa7aed3a9881c8a0083add62d0dc3f52541 (diff)
parent6775fe2555e337f4435d579a301155c807375f55 (diff)
downloadglib-fded2090e2892cbd5f4a92c6f8fb27b798adcf8f.tar.gz
Merge branch '811-content-type-docs' into 'master'
docs: Add (transfer full) annotation to g_content_type_get_mime_type() Closes #811 See merge request GNOME/glib!84
-rw-r--r--gio/gcontenttype.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gio/gcontenttype.c b/gio/gcontenttype.c
index af8ef44c6..57249d94e 100644
--- a/gio/gcontenttype.c
+++ b/gio/gcontenttype.c
@@ -405,8 +405,8 @@ g_content_type_get_description (const gchar *type)
*
* Gets the mime type for the content type, if one is registered.
*
- * Returns: (nullable): the registered mime type for the given @type,
- * or %NULL if unknown.
+ * Returns: (nullable) (transfer full): the registered mime type for the
+ * given @type, or %NULL if unknown; free with g_free().
*/
char *
g_content_type_get_mime_type (const char *type)