[glib] GApplication: make menu properties readwrite
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] GApplication: make menu properties readwrite
- Date: Thu, 8 Dec 2011 23:14:42 +0000 (UTC)
commit ac8bc3d40732e6b2fb759e9fdc2f11a8d0e1e885
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 2337623..d4fb5de 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]