gcontenttype-win32: Copy documetation comment from gcontenttype

Fixes https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/509
This commit is contained in:
Biswapriyo Nath 2024-06-09 14:30:03 +00:00
parent 601b8b45fb
commit 7e69f88480

View File

@ -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)
{