[gimp/soc-2010-cage-2] plug-ins: don't forget to set the progress to 1.0 when finished
- From: Michael Muré <mmure src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2010-cage-2] plug-ins: don't forget to set the progress to 1.0 when finished
- Date: Thu, 30 Dec 2010 18:12:36 +0000 (UTC)
commit f95d5ad66757b668645f40f7eae45ae175d95604
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]