[glib] Add Win32 versions of some new content type APIs



commit dace477c92ea3a9111cef73159a6a1fcaaf0f497
Author: Matthias Clasen <mclasen redhat com>
Date:   Mon Oct 15 19:22:50 2012 -0400

    Add Win32 versions of some new content type APIs
    
    This commit adds minimal versions of
    g_content_type_get_symbolic_icon and
    g_content_type_get_generic_icon_name.
    https://bugzilla.gnome.org/show_bug.cgi?id=683642

 gio/gcontenttype-win32.c |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)
---
diff --git a/gio/gcontenttype-win32.c b/gio/gcontenttype-win32.c
index 40c8cf4..e7e9785 100644
--- a/gio/gcontenttype-win32.c
+++ b/gio/gcontenttype-win32.c
@@ -244,6 +244,18 @@ g_content_type_get_icon (const gchar *type)
   return G_ICON (themed_icon);
 }
 
+GIcon *
+g_content_type_get_symbolic_icon (const gchar *type)
+{
+  return g_content_type_get_icon (type);
+}
+
+gchar *
+g_content_type_get_generic_icon_name (const gchar *type)
+{
+  return NULL;
+}
+
 gboolean
 g_content_type_can_be_executable (const gchar *type)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]