From 7e69f88480a4bf8d9653efd0310c4c25390a0c8b Mon Sep 17 00:00:00 2001 From: Biswapriyo Nath Date: Sun, 9 Jun 2024 14:30:03 +0000 Subject: [PATCH] gcontenttype-win32: Copy documetation comment from gcontenttype Fixes https://gitlab.gnome.org/GNOME/gobject-introspection/-/issues/509 --- gio/gcontenttype-win32.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gio/gcontenttype-win32.c b/gio/gcontenttype-win32.c index 11ea203ab..d227d599e 100644 --- a/gio/gcontenttype-win32.c +++ b/gio/gcontenttype-win32.c @@ -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) {