mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-24 21:16:15 +01:00
docs: Add (transfer full) annotation to g_content_type_get_mime_type()
Signed-off-by: Philip Withnall <withnall@endlessm.com> https://gitlab.gnome.org/GNOME/glib/issues/811
This commit is contained in:
parent
e1eaea3eea
commit
6775fe2555
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user