[glib/wip/gmenu] GApplication: make menu properties readwrite
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/gmenu] GApplication: make menu properties readwrite
- Date: Sat, 3 Dec 2011 22:17:36 +0000 (UTC)
commit e958e51192f8e92a02a626b2d69abed324869fd7
Author: Ryan Lortie <desrt desrt ca>
Date: Sat Dec 3 17:17:13 2011 -0500
GApplication: make menu properties readwrite
Otherwise the notify signals won't be emitted.
gio/gapplication.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index fbf8719..d2c5993 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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]