diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2018-06-12 08:52:56 +0000 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2018-06-12 08:52:56 +0000 |
commit | fded2090e2892cbd5f4a92c6f8fb27b798adcf8f (patch) | |
tree | 3f0fd491f34bb82a2fc4ab8adf37f940fb870202 /gio | |
parent | 54498aa7aed3a9881c8a0083add62d0dc3f52541 (diff) | |
parent | 6775fe2555e337f4435d579a301155c807375f55 (diff) | |
download | glib-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
Diffstat (limited to 'gio')
-rw-r--r-- | gio/gcontenttype.c | 4 |
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) |