mirror of https://github.com/GNOME/gimp.git
allow the plug-in a few mistakes before actually warning
svn path=/trunk/; revision=22403
This commit is contained in:
parent
5debc2d7ec
commit
a3ca4bfac5
|
@ -339,8 +339,11 @@ gimp_progress_update (gdouble percentage)
|
|||
if (! changed)
|
||||
{
|
||||
static gboolean warned = FALSE;
|
||||
static gint count = 0;
|
||||
|
||||
if (! warned)
|
||||
count++;
|
||||
|
||||
if (count > 3 && ! warned)
|
||||
{
|
||||
g_printerr ("%s is updating the progress too often\n",
|
||||
g_get_prgname ());
|
||||
|
|
Loading…
Reference in New Issue