Revision: 1056
          http://geeqie.svn.sourceforge.net/geeqie/?rev=1056&view=rev
Author:   nadvornik
Date:     2008-08-13 20:46:06 +0000 (Wed, 13 Aug 2008)

Log Message:
-----------
a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=547669

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

Modified: trunk/src/image-load.c
===================================================================
--- trunk/src/image-load.c      2008-08-12 20:21:25 UTC (rev 1055)
+++ trunk/src/image-load.c      2008-08-13 20:46:06 UTC (rev 1056)
@@ -68,6 +68,16 @@
        GdkPixbuf *pb;
        guchar *pix;
        size_t h, rs;
+       
+       /* a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=547669 */
+       gchar *format = 
gdk_pixbuf_format_get_name(gdk_pixbuf_loader_get_format(loader));
+       if (strcmp(format, "svg") == 0) 
+               {
+               g_free(format);
+               return;
+               }
+       
+       g_free(format);
 
        pb = gdk_pixbuf_loader_get_pixbuf(loader);
        


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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geeqie-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geeqie-svn

Reply via email to