[gtk+] Add RELATION_NODE_PARENT_OF relationship for treeview.
- From: Li Yuan <liyuan src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Add RELATION_NODE_PARENT_OF relationship for treeview.
- Date: Fri, 6 Nov 2009 08:24:37 +0000 (UTC)
commit a196cb940072e6e6078dec7c3e964b62e0bef08c
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Fri Nov 6 16:17:23 2009 +0800
Add RELATION_NODE_PARENT_OF relationship for treeview.
Bug 569430.
modules/other/gail/gailtreeview.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/modules/other/gail/gailtreeview.c b/modules/other/gail/gailtreeview.c
index 508f233..44a6337 100644
--- a/modules/other/gail/gailtreeview.c
+++ b/modules/other/gail/gailtreeview.c
@@ -1027,6 +1027,8 @@ gail_tree_view_ref_child (AtkObject *obj,
relation = atk_relation_new (accessible_array, 1,
ATK_RELATION_NODE_CHILD_OF);
atk_relation_set_add (relation_set, relation);
+ atk_object_add_relationship (parent_node, ATK_RELATION_NODE_PARENT_OF,
+ child);
g_object_unref (relation);
g_object_unref (relation_set);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]