mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-20 23:58:54 +02: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:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user