mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-03 17:56:17 +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.
|
* Gets the mime type for the content type, if one is registered.
|
||||||
*
|
*
|
||||||
* Returns: (nullable): the registered mime type for the given @type,
|
* Returns: (nullable) (transfer full): the registered mime type for the
|
||||||
* or %NULL if unknown.
|
* given @type, or %NULL if unknown; free with g_free().
|
||||||
*/
|
*/
|
||||||
char *
|
char *
|
||||||
g_content_type_get_mime_type (const char *type)
|
g_content_type_get_mime_type (const char *type)
|
||||||
|
Loading…
Reference in New Issue
Block a user