From d55d95877e96ddda97fcd2864cbdf176d6a2ca8f Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sun, 6 Jan 2008 00:50:40 +0000 Subject: [PATCH] update the progress less often. 2008-01-06 Sven Neumann * plug-ins/common/tile.c (tile): update the progress less often. svn path=/trunk/; revision=24541 --- ChangeLog | 4 ++++ plug-ins/common/tile.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index deb998aa71..4242e8a9af 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2008-01-06 Sven Neumann + + * plug-ins/common/tile.c (tile): update the progress less often. + 2008-01-05 Manish Singh * plug-ins/pygimp/pygimp-image.c: new Image.new_layer() method, diff --git a/plug-ins/common/tile.c b/plug-ins/common/tile.c index 303a06cba1..c47af9da0d 100644 --- a/plug-ins/common/tile.c +++ b/plug-ins/common/tile.c @@ -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); }