[gimp] web-page: Update progress to 1.0 when complete



commit 77b76ca945da93650ba2642eba2c4e4c6f868606
Author: Mukund Sivaraman <muks banu com>
Date:   Fri Apr 8 18:33:42 2011 +0530

    web-page: Update progress to 1.0 when complete

 plug-ins/common/web-page.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plug-ins/common/web-page.c b/plug-ins/common/web-page.c
index d54620f..dbc762d 100644
--- a/plug-ins/common/web-page.c
+++ b/plug-ins/common/web-page.c
@@ -548,6 +548,8 @@ webpage_capture (void)
 
   gtk_widget_destroy (window);
 
+  gimp_progress_update (1.0);
+
   if (webpagevals.pixbuf)
     {
       gint width;
@@ -570,6 +572,8 @@ webpage_capture (void)
 
       g_object_unref (webpagevals.pixbuf);
       webpagevals.pixbuf = NULL;
+
+      gimp_progress_update (1.0);
     }
 
   return image;



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