SF.net SVN: geany:[5907] trunk
colombanw at users.sourceforge.net
colombanw at xxxxx
Fri Sep 2 21:45:02 UTC 2011
Revision: 5907
http://geany.svn.sourceforge.net/geany/?rev=5907&view=rev
Author: colombanw
Date: 2011-09-02 21:45:02 +0000 (Fri, 02 Sep 2011)
Log Message:
-----------
Fix check for enabling MIME type based icons
gtk_icon_theme_lookup_by_gicon() requires GTK >= 2.14, and since
GTK 2.14 requires the GIcon API, drop the GLib check.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/ui_utils.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2011-09-02 21:44:44 UTC (rev 5906)
+++ trunk/ChangeLog 2011-09-02 21:45:02 UTC (rev 5907)
@@ -1,3 +1,9 @@
+2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
+
+ * src/ui_utils.c:
+ Fix check for enabling MIME type based icons.
+
+
2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.h:
Modified: trunk/src/ui_utils.c
===================================================================
--- trunk/src/ui_utils.c 2011-09-02 21:44:44 UTC (rev 5906)
+++ trunk/src/ui_utils.c 2011-09-02 21:45:02 UTC (rev 5907)
@@ -2525,7 +2525,7 @@
GdkPixbuf *ui_get_mime_icon(const gchar *mime_type, GtkIconSize size)
{
GdkPixbuf *icon = NULL;
-#if GLIB_CHECK_VERSION(2, 18, 0)
+#if GTK_CHECK_VERSION(2, 14, 0)
gchar *ctype;
GIcon *gicon;
GtkIconInfo *info;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Commits
mailing list