[gtk+] GtkApplication: fix !x11 build



commit 284ff06ef6aef83dc86198fae16aa33f29f79357
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Jan 20 08:16:35 2012 -0500

    GtkApplication: fix !x11 build
    
    Since we moved the menu models to GTK+, we need to deal with
    them on all platforms, even if we don't do anything special
    with them on win32.

 gtk/gtkapplication.c |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index b4c29a8..d2aabc4 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -147,16 +147,17 @@ struct _GtkApplicationPrivate
 
   gboolean register_session;
 
+  GMenuModel      *app_menu;
+  GMenuModel      *menubar;
+
 #ifdef GDK_WINDOWING_X11
   GDBusConnection *session_bus;
   const gchar     *application_id;
   gchar           *object_path;
 
-  GMenuModel      *app_menu;
   gchar           *app_menu_path;
   guint            app_menu_id;
 
-  GMenuModel      *menubar;
   gchar           *menubar_path;
   guint            menubar_id;
 



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