mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-05 17:06:18 +01:00
gcontenttype-win32: Copy documetation comment from gcontenttype
Fixes https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/509
This commit is contained in:
parent
601b8b45fb
commit
7e69f88480
@ -224,6 +224,15 @@ g_content_type_get_mime_type (const gchar *type)
|
||||
G_LOCK_DEFINE_STATIC (_type_icons);
|
||||
static GHashTable *_type_icons = NULL;
|
||||
|
||||
/**
|
||||
* g_content_type_get_icon:
|
||||
* @type: a content type string
|
||||
*
|
||||
* Gets the icon for a content type.
|
||||
*
|
||||
* Returns: (transfer full): #GIcon corresponding to the content type. Free the returned
|
||||
* object with g_object_unref()
|
||||
*/
|
||||
GIcon *
|
||||
g_content_type_get_icon (const gchar *type)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user