Revision: 1822
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1822&view=rev
Author:   nadvornik
Date:     2009-08-23 14:10:56 +0000 (Sun, 23 Aug 2009)

Log Message:
-----------
workaround for xpm loader

https://sourceforge.net/tracker/?func=detail&aid=2824016&group_id=222125&atid=1054680

Modified Paths:
--------------
    trunk/src/image-load.c

Modified: trunk/src/image-load.c
===================================================================
--- trunk/src/image-load.c      2009-08-23 13:37:15 UTC (rev 1821)
+++ trunk/src/image-load.c      2009-08-23 14:10:56 UTC (rev 1822)
@@ -387,9 +387,13 @@
        guchar *pix;
        size_t h, rs;
        
-       /* a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=547669 */
+       /* a workaround for 
+          http://bugzilla.gnome.org/show_bug.cgi?id=547669 
+          http://bugzilla.gnome.org/show_bug.cgi?id=589334
+       */
        gchar *format = 
gdk_pixbuf_format_get_name(gdk_pixbuf_loader_get_format(loader));
-       if (strcmp(format, "svg") == 0)
+       if (strcmp(format, "svg") == 0 ||
+           strcmp(format, "xpm") == 0)
                {
                g_free(format);
                return;


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to