[clutter] [cally] CallyRoot is the parent of any CallyStage object
- From: Alejandro Piñeiro Iglesias <apinheiro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] [cally] CallyRoot is the parent of any CallyStage object
- Date: Fri, 20 May 2011 12:20:26 +0000 (UTC)
commit d007155ac4a4b8a171a6503757d01f8c739b13f6
Author: Alejandro Piñeiro <apinheiro igalia com>
Date: Fri May 20 14:18:09 2011 +0200
[cally] CallyRoot is the parent of any CallyStage object
http://bugzilla.clutter-project.org/show_bug.cgi?id=2597
clutter/cally/cally-root.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/clutter/cally/cally-root.c b/clutter/cally/cally-root.c
index 780d946..bc8155d 100644
--- a/clutter/cally/cally-root.c
+++ b/clutter/cally/cally-root.c
@@ -182,6 +182,8 @@ cally_root_initialize (AtkObject *accessible,
clutter_stage = CLUTTER_STAGE (iter->data);
cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (clutter_stage));
+ atk_object_set_parent (cally_stage, ATK_OBJECT (root));
+
root->priv->stage_list = g_slist_append (root->priv->stage_list,
cally_stage);
}
@@ -251,6 +253,8 @@ cally_util_stage_added_cb (ClutterStageManager *stage_manager,
cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (stage));
+ atk_object_set_parent (cally_stage, ATK_OBJECT (root));
+
root->priv->stage_list = g_slist_append (root->priv->stage_list,
cally_stage);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]