[gimp/soc-2010-cage] app: Kill UI configurer gracefully



commit 842149f02b202df41107c2b49acd95f790b2d79c
Author: Martin Nordholts <martinn src gnome org>
Date:   Thu Jun 24 22:57:25 2010 +0200

    app: Kill UI configurer gracefully
    
    Kill UI configurer gracefully so it's easier to find real leaks.

 app/gui/gui.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index b02f467..3896285 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -624,6 +624,9 @@ gui_exit_after_callback (Gimp     *gimp,
   g_object_unref (image_ui_manager);
   image_ui_manager = NULL;
 
+  g_object_unref (ui_configurer);
+  ui_configurer = NULL;
+
   session_exit (gimp);
   menus_exit (gimp);
   actions_exit (gimp);



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