mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 15:36:17 +01:00
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:
commit
fded2090e2
@ -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