[gimp] app: call dialogs_exit() after controllers_exit() and devices_exit()



commit 6eda16d5501fa21bc18eea412e28dad248c38f5e
Author: Michael Natterer <mitch gimp org>
Date:   Fri Jun 18 09:11:14 2010 +0200

    app: call dialogs_exit() after controllers_exit() and devices_exit()
    
    which would have been the correct oder all the time, because these
    systems are initialized in reverse order. The wrong order didn't
    matter until now, but for some reason it now sometimes triggered
    warnings about dialog_factories being NULL during controllers
    shutdown.

 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 eb2856a..b02f467 100644
--- a/app/gui/gui.c
+++ b/app/gui/gui.c
@@ -630,9 +630,9 @@ gui_exit_after_callback (Gimp     *gimp,
   gimp_display_shell_render_exit (gimp);
   gimp_render_exit (gimp);
 
-  dialogs_exit (gimp);
   gimp_controllers_exit (gimp);
   gimp_devices_exit (gimp);
+  dialogs_exit (gimp);
 
   g_signal_handlers_disconnect_by_func (gimp,
                                         G_CALLBACK (gui_global_buffer_changed),



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