update the progress less often.

2008-01-06  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/tile.c (tile): update the progress less often.


svn path=/trunk/; revision=24541
This commit is contained in:
Sven Neumann 2008-01-06 00:50:40 +00:00 committed by Sven Neumann
parent 30e0e4125c
commit d55d95877e
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2008-01-06 Sven Neumann <sven@gimp.org>
* plug-ins/common/tile.c (tile): update the progress less often.
2008-01-05 Manish Singh <yosh@gimp.org>
* plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method,

View File

@ -334,7 +334,7 @@ tile (gint32 image_id,
progress += src_rgn.w * src_rgn.h;
if (c % 8 == 0)
if (c % 16 == 0)
gimp_progress_update ((gdouble) progress /
(gdouble) max_progress);
}