mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-03 06:13:08 +02: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);
|
G_LOCK_DEFINE_STATIC (_type_icons);
|
||||||
static GHashTable *_type_icons = NULL;
|
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 *
|
GIcon *
|
||||||
g_content_type_get_icon (const gchar *type)
|
g_content_type_get_icon (const gchar *type)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user