[gimp] app: Pass gimp to gui_restore_after_callback()



commit 066cdf6d740ffe15cd53cb49228b7d655a3cecb6
Author: Martin Nordholts <martinn src gnome org>
Date:   Wed Jul 20 16:31:03 2011 +0200

    app: Pass gimp to gui_restore_after_callback()
    
    Pass gimp in gui_restore_after_callback() to
    gui_restore_after_callback() so we can update properly.

 app/gui/gui.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/gui/gui.c b/app/gui/gui.c
index 27513e2..b27d0a9 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -448,7 +448,7 @@ gui_restore_after_callback (Gimp               *gimp,
                                                     "<Image>",
                                                     gimp,
                                                     gui_config->tearoff_menus);
-  gimp_ui_manager_update (image_ui_manager, NULL);
+  gimp_ui_manager_update (image_ui_manager, gimp);
 
 #ifdef GDK_WINDOWING_QUARTZ
   {



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