[glib] Fully implement app-menu and menubar properties
- From: Ryan Lortie <ryanl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Fully implement app-menu and menubar properties
- Date: Thu, 8 Dec 2011 23:14:47 +0000 (UTC)
commit 690596e9fbcad66f1692f92f919cd3be61ee27cb
Author: Matthias Clasen <mclasen redhat com>
Date: Sat Dec 3 22:26:59 2011 -0500
Fully implement app-menu and menubar properties
gio/gapplication.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/gio/gapplication.c b/gio/gapplication.c
index d4fb5de..1b6bcbf 100644
--- a/gio/gapplication.c
+++ b/gio/gapplication.c
@@ -606,6 +606,16 @@ g_application_get_property (GObject *object,
g_application_get_inactivity_timeout (application));
break;
+ case PROP_APP_MENU:
+ g_value_set_object (value,
+ g_application_get_app_menu (application));
+ break;
+
+ case PROP_MENUBAR:
+ g_value_set_object (value,
+ g_application_get_menubar (application));
+ break;
+
default:
g_assert_not_reached ();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]