Mercurial > geeqie.yaz
comparison src/image-load.c @ 1704:566abe50976d
workaround for xpm loader
https://sourceforge.net/tracker/?func=detail&aid=2824016&group_id=222125&atid=1054680
| author | nadvornik |
|---|---|
| date | Sun, 23 Aug 2009 14:10:56 +0000 |
| parents | 597ed9e9979c |
| children | 728aa6bf4988 |
comparison
equal
deleted
inserted
replaced
| 1703:7c4a87f98cc9 | 1704:566abe50976d |
|---|---|
| 385 { | 385 { |
| 386 GdkPixbuf *pb; | 386 GdkPixbuf *pb; |
| 387 guchar *pix; | 387 guchar *pix; |
| 388 size_t h, rs; | 388 size_t h, rs; |
| 389 | 389 |
| 390 /* a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=547669 */ | 390 /* a workaround for |
| 391 http://bugzilla.gnome.org/show_bug.cgi?id=547669 | |
| 392 http://bugzilla.gnome.org/show_bug.cgi?id=589334 | |
| 393 */ | |
| 391 gchar *format = gdk_pixbuf_format_get_name(gdk_pixbuf_loader_get_format(loader)); | 394 gchar *format = gdk_pixbuf_format_get_name(gdk_pixbuf_loader_get_format(loader)); |
| 392 if (strcmp(format, "svg") == 0) | 395 if (strcmp(format, "svg") == 0 || |
| 396 strcmp(format, "xpm") == 0) | |
| 393 { | 397 { |
| 394 g_free(format); | 398 g_free(format); |
| 395 return; | 399 return; |
| 396 } | 400 } |
| 397 | 401 |
