[gnome-menus/wip/gobject-review: 33/38] libmenu: Fix getting the flags property
- From: Vincent Untz <vuntz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-menus/wip/gobject-review: 33/38] libmenu: Fix getting the flags property
- Date: Sun, 12 Jun 2011 10:02:01 +0000 (UTC)
commit a00895e1a2482686970b79ac367ee8b63e4d5ee6
Author: Vincent Untz <vuntz gnome org>
Date: Sun Jun 12 10:53:05 2011 +0200
libmenu: Fix getting the flags property
This was not handled at all.
libmenu/gmenu-tree.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/libmenu/gmenu-tree.c b/libmenu/gmenu-tree.c
index f637f43..68ebbac 100644
--- a/libmenu/gmenu-tree.c
+++ b/libmenu/gmenu-tree.c
@@ -499,6 +499,9 @@ gmenu_tree_get_property (GObject *object,
case PROP_NAME:
g_value_set_string (value, self->basename);
break;
+ case PROP_FLAGS:
+ g_value_set_flags (value, self->flags);
+ break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]