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
This commit is contained in:
Christoph Reiter 2018-06-12 08:52:56 +00:00
commit fded2090e2

View File

@ -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)