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.
This commit is contained in:
parent
d80bad037f
commit
284ff06ef6
@ -147,16 +147,17 @@ struct _GtkApplicationPrivate
|
|||||||
|
|
||||||
gboolean register_session;
|
gboolean register_session;
|
||||||
|
|
||||||
|
GMenuModel *app_menu;
|
||||||
|
GMenuModel *menubar;
|
||||||
|
|
||||||
#ifdef GDK_WINDOWING_X11
|
#ifdef GDK_WINDOWING_X11
|
||||||
GDBusConnection *session_bus;
|
GDBusConnection *session_bus;
|
||||||
const gchar *application_id;
|
const gchar *application_id;
|
||||||
gchar *object_path;
|
gchar *object_path;
|
||||||
|
|
||||||
GMenuModel *app_menu;
|
|
||||||
gchar *app_menu_path;
|
gchar *app_menu_path;
|
||||||
guint app_menu_id;
|
guint app_menu_id;
|
||||||
|
|
||||||
GMenuModel *menubar;
|
|
||||||
gchar *menubar_path;
|
gchar *menubar_path;
|
||||||
guint menubar_id;
|
guint menubar_id;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user