[gtk+] GtkApplication: properly unexport x11 menus



commit 00795e8d050afbe12f7333b324f7e8614d3e13d2
Author: Andrew Potter <agpotter gmail com>
Date:   Thu Nov 15 08:45:00 2012 +0100

    GtkApplication: properly unexport x11 menus
    
    https://bugzilla.gnome.org/show_bug.cgi?id=688362

 gtk/gtkapplication.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index a4486c4..bbb65b8 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -289,12 +289,12 @@ gtk_application_startup_x11 (GtkApplication *application)
 static void
 gtk_application_shutdown_x11 (GtkApplication *application)
 {
-  application->priv->session_bus = NULL;
-  application->priv->object_path = NULL;
-
   gtk_application_set_app_menu_x11 (application, NULL);
   gtk_application_set_menubar_x11 (application, NULL);
 
+  application->priv->session_bus = NULL;
+  application->priv->object_path = NULL;
+
   g_clear_object (&application->priv->sm_proxy);
   g_clear_object (&application->priv->client_proxy);
   g_free (application->priv->app_id);



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