Commit 53c98d71 authored by Mukund Sivaraman's avatar Mukund Sivaraman Committed by Mukund Sivaraman

plug-ins/common/tiff-load.c make progress bars progress to completion.

2007-04-25  Mukund Sivaraman  <muks@mukund.org>

        * plug-ins/common/tiff-load.c
        * plug-ins/common/tiff-save.c: make progress bars progress to
        completion.


svn path=/trunk/; revision=22327
parent a484bf8a
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
* plug-ins/common/tiff-save.c: make progress bars progress to
completion.
2007-04-25 Mukund Sivaraman <muks@mukund.org>
* plug-ins/common/tiff-load.c
......@@ -532,6 +532,8 @@ load_image (const gchar *filename, TiffSelectedPages *pages)
TIFFSetDirectory (tif, pages->pages[li]);
ilayer = pages->pages[li];
gimp_progress_update (0.0);
TIFFGetFieldDefaulted (tif, TIFFTAG_BITSPERSAMPLE, &bps);
if (bps > 8 && bps != 16)
......@@ -1018,6 +1020,8 @@ load_image (const gchar *filename, TiffSelectedPages *pages)
gimp_image_undo_enable (image);
gimp_image_clean_all (image);
}
gimp_progress_update (1.0);
}
if (! do_images)
......
......@@ -815,6 +815,8 @@ save_image (const gchar *filename,
TIFFFlushData (tif);
TIFFClose (tif);
gimp_progress_update (1.0);
gimp_drawable_detach (drawable);
g_free (data);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment