Mercurial > geeqie
changeset 1722:86814baa74e6
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 | 46284779a897 |
children | 0e235874877e |
files | src/image-load.c |
diffstat | 1 files changed, 6 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/image-load.c Sun Aug 23 13:37:15 2009 +0000 +++ b/src/image-load.c Sun Aug 23 14:10:56 2009 +0000 @@ -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;