forked from AuroraMiddleware/gtk
Added a comment to explain the signal used to stop parsing early.
2007-07-06 Michael J. Chudobiak <mjc@cvs.gnome.org> * io-tiff.c: (tiff_image_parse): Added a comment to explain the signal used to stop parsing early. svn path=/trunk/; revision=18385
This commit is contained in:
parent
d2c4ba3639
commit
695e95e68f
@ -1,3 +1,8 @@
|
||||
2007-07-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
|
||||
|
||||
* io-tiff.c: (tiff_image_parse): Added a comment to explain
|
||||
the signal used to stop parsing early.
|
||||
|
||||
2007-07-05 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* io-tiff.c: Revert the last change, it was wrong
|
||||
|
@ -199,6 +199,11 @@ tiff_image_parse (TIFF *tiff, TiffContext *context, GError **error)
|
||||
gint h = height;
|
||||
(* context->size_func) (&w, &h, context->user_data);
|
||||
|
||||
/* This is a signal that this function is being called
|
||||
to support gdk_pixbuf_get_file_info, so we can stop
|
||||
parsing the tiff file at this point. It is not an
|
||||
error condition. */
|
||||
|
||||
if (w == 0 || h == 0)
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user