summaryrefslogtreecommitdiff
path: root/gdk-pixbuf/io-tiff.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2007-07-05 20:16:59 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2007-07-05 20:16:59 +0000
commitd2c4ba363978b5d60a10b60239f0df337272a01a (patch)
treed21c043ede8f9ecfbb43373ba98b35fc7bc3c8bf /gdk-pixbuf/io-tiff.c
parentf4f7a0a1861710c36d15bcbcd8e0e44e133a0479 (diff)
downloadgtk+-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.c7
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);