mirror of https://github.com/GNOME/gimp.git
update the progress less often
svn path=/trunk/; revision=22447
This commit is contained in:
parent
d3a085d0da
commit
9394509e73
|
@ -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>
|
||||
|
||||
|
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue