From d007155ac4a4b8a171a6503757d01f8c739b13f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alejandro=20Pi=C3=B1eiro?= Date: Fri, 20 May 2011 14:18:09 +0200 Subject: [PATCH] [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 file changed, 4 insertions(+) diff --git a/clutter/cally/cally-root.c b/clutter/cally/cally-root.c index 780d946c8..bc8155d2e 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);