mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01:00
Merge branch 'gcontenttype-win32-add-intro' into 'main'
gcontenttype-win32: Copy documetation comment from gcontenttype Closes gobject-introspection#509 See merge request GNOME/glib!4106
This commit is contained in:
commit
d5de81e440
@ -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…
Reference in New Issue
Block a user