[gimp/gimp-2-8] app: set the idle_id to 0 in gimp_image_profile_view_query()



commit 1aa573c3d4c33a470a4473b7dac4e838239690d6
Author: Michael Natterer <mitch gimp org>
Date:   Mon Mar 10 01:24:11 2014 +0100

    app: set the idle_id to 0 in gimp_image_profile_view_query()
    
    fixes warnings from dispose() about removing a source that doesn't
    exist.
    
    (cherry picked from commit 4267ea5d1233ff85f059ba97a92eeeb430c87e6e)

 app/widgets/gimpimageprofileview.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/app/widgets/gimpimageprofileview.c b/app/widgets/gimpimageprofileview.c
index ef471ec..63dac01 100644
--- a/app/widgets/gimpimageprofileview.c
+++ b/app/widgets/gimpimageprofileview.c
@@ -185,6 +185,8 @@ gimp_image_profile_view_query (GimpImageProfileView *view)
   g_free (desc);
   g_free (info);
 
+  view->idle_id = 0;
+
   return FALSE;
 }
 


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