update the progress less often

svn path=/trunk/; revision=22447
This commit is contained in:
Sven Neumann 2007-05-07 09:22:46 +00:00
parent d3a085d0da
commit 9394509e73
2 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,7 @@
2007-05-07 Sven Neumann <sven@gimp.org>
* plug-ins/common/blur.c (blur_prepare_row): clamp to the first
row, not the second.
row, not the second. Also update the progress less often.
2007-05-07 Sven Neumann <sven@gimp.org>

View File

@ -68,11 +68,6 @@
*
********************************/
/*
* progress meter update frequency
*/
#define PROG_UPDATE_TIME ((row % 10) == 0)
#define PLUG_IN_PROC "plug-in-blur"
/*********************************
@ -355,7 +350,7 @@ blur (GimpDrawable *drawable)
cr = nr;
nr = tmp;
if (PROG_UPDATE_TIME)
if ((row % 32) == 0)
gimp_progress_update ((gdouble) row / (gdouble) (y2 - y1));
}