projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8616681
)
a workaround for http://bugzilla.gnome.org/show_bug.cgi?id=547669
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Wed, 13 Aug 2008 20:46:06 +0000
(20:46 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Wed, 13 Aug 2008 20:46:06 +0000
(20:46 +0000)
src/image-load.c
patch
|
blob
|
history
diff --git
a/src/image-load.c
b/src/image-load.c
index
aa95fb5
..
7f533be
100644
(file)
--- a/
src/image-load.c
+++ b/
src/image-load.c
@@
-68,6
+68,16
@@
static void image_loader_area_prepared_cb(GdkPixbufLoader *loader, gpointer data
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);