]> Pileus Git - ~andy/gtk/commitdiff
Added a comment to explain the signal used to stop parsing early.
authorMichael J. Chudobiak <mjc@cvs.gnome.org>
Fri, 6 Jul 2007 11:50:28 +0000 (11:50 +0000)
committerMichael J. Chudobiak <mjc@src.gnome.org>
Fri, 6 Jul 2007 11:50:28 +0000 (11:50 +0000)
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

gdk-pixbuf/ChangeLog
gdk-pixbuf/io-tiff.c

index d8e03e22da9c88566265c3a8e59cf6a2b6e75747..94dae6158158614c4b07a6999a0a9a079e56d59f 100644 (file)
@@ -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
index a9863e6cffb2fd8eb2a36c8896170e63fa51d3f6..215c130b38cd3422e21fec70698112b1699b6f07 100644 (file)
@@ -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;
         }