diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2007-07-05 20:16:59 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2007-07-05 20:16:59 +0000 |
commit | d2c4ba363978b5d60a10b60239f0df337272a01a (patch) | |
tree | d21c043ede8f9ecfbb43373ba98b35fc7bc3c8bf /gdk-pixbuf/io-tiff.c | |
parent | f4f7a0a1861710c36d15bcbcd8e0e44e133a0479 (diff) | |
download | gtk+-d2c4ba363978b5d60a10b60239f0df337272a01a.tar.gz |
Try again to make gdk_pixbuf_get_file_info work for tiff images
svn path=/trunk/; revision=18384
Diffstat (limited to 'gdk-pixbuf/io-tiff.c')
-rw-r--r-- | gdk-pixbuf/io-tiff.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gdk-pixbuf/io-tiff.c b/gdk-pixbuf/io-tiff.c index 9e521022dc..a9863e6cff 100644 --- a/gdk-pixbuf/io-tiff.c +++ b/gdk-pixbuf/io-tiff.c @@ -199,13 +199,8 @@ tiff_image_parse (TIFF *tiff, TiffContext *context, GError **error) gint h = height; (* context->size_func) (&w, &h, context->user_data); - if (w == 0 || h == 0) { - g_set_error (error, - GDK_PIXBUF_ERROR, - GDK_PIXBUF_ERROR_CORRUPT_IMAGE, - _("Width or height of TIFF image is zero")); + if (w == 0 || h == 0) return NULL; - } } pixels = g_try_malloc (bytes); |