[cally] CallyRoot is the parent of any CallyStage object

http://bugzilla.clutter-project.org/show_bug.cgi?id=2597
This commit is contained in:
Alejandro Piñeiro 2011-05-20 14:18:09 +02:00
parent 58adcb4022
commit d007155ac4

View File

@ -182,6 +182,8 @@ cally_root_initialize (AtkObject *accessible,
clutter_stage = CLUTTER_STAGE (iter->data); clutter_stage = CLUTTER_STAGE (iter->data);
cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (clutter_stage)); 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, root->priv->stage_list = g_slist_append (root->priv->stage_list,
cally_stage); cally_stage);
} }
@ -251,6 +253,8 @@ cally_util_stage_added_cb (ClutterStageManager *stage_manager,
cally_stage = clutter_actor_get_accessible (CLUTTER_ACTOR (stage)); 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, root->priv->stage_list = g_slist_append (root->priv->stage_list,
cally_stage); cally_stage);