From ac8bc3d40732e6b2fb759e9fdc2f11a8d0e1e885 Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Sat, 3 Dec 2011 17:17:13 -0500 Subject: [PATCH] GApplication: make menu properties readwrite Otherwise the notify signals won't be emitted. --- gio/gapplication.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gapplication.c b/gio/gapplication.c index 233762352..d4fb5de44 100644 --- a/gio/gapplication.c +++ b/gio/gapplication.c @@ -721,14 +721,14 @@ g_application_class_init (GApplicationClass *class) P_("Application menu"), P_("The GMenuModel for the application menu"), G_TYPE_MENU_MODEL, - G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); g_object_class_install_property (object_class, PROP_MENUBAR, g_param_spec_object ("menubar", P_("Menubar"), P_("The GMenuModel for the menubar"), G_TYPE_MENU_MODEL, - G_PARAM_WRITABLE | G_PARAM_STATIC_STRINGS)); + G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS)); /** * GApplication::startup: