[gimp] plug-ins: don't forget to set the progress to 1.0 when finished



commit 3242ad592e96a1e577a2cfacb927516cbc08deea
Author: Michael Natterer <mitch gimp org>
Date:   Thu Nov 25 23:28:25 2010 +0100

    plug-ins: don't forget to set the progress to 1.0 when finished

 plug-ins/common/blur-motion.c |    2 ++
 plug-ins/common/ripple.c      |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/blur-motion.c b/plug-ins/common/blur-motion.c
index cfb4fff..e2557ff 100644
--- a/plug-ins/common/blur-motion.c
+++ b/plug-ins/common/blur-motion.c
@@ -928,6 +928,8 @@ mblur (GimpDrawable *drawable,
 
   if (! preview)
     {
+      gimp_progress_update (1.0);
+
       gimp_drawable_flush (drawable);
       gimp_drawable_merge_shadow (drawable->drawable_id, TRUE);
       gimp_drawable_update (drawable->drawable_id, x, y, width, height);
diff --git a/plug-ins/common/ripple.c b/plug-ins/common/ripple.c
index 8066f22..866a784 100644
--- a/plug-ins/common/ripple.c
+++ b/plug-ins/common/ripple.c
@@ -224,6 +224,8 @@ run (const gchar      *name,
           /*  run the ripple effect  */
           ripple (drawable, NULL);
 
+          gimp_progress_update (1.0);
+
           if (run_mode != GIMP_RUN_NONINTERACTIVE)
             gimp_displays_flush ();
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]