1
0
Fork 0

conform/layout: Remove last Container.add_actor() usage

Use clutter_actor_add_child(), now that Stage falls back to the default
implementation of Container provided by the Actor class.
This commit is contained in:
Emmanuele Bassi 2011-12-02 15:38:25 +00:00 committed by Emmanuele Bassi
parent 3f877a3d71
commit 24a451b388

View file

@ -213,7 +213,7 @@ basic_layout (TestConformSimpleFixture *fixture,
TestState *state;
vase = clutter_box_new (clutter_flow_layout_new (CLUTTER_FLOW_HORIZONTAL));
clutter_container_add_actor (CLUTTER_CONTAINER (stage), vase);
clutter_actor_add_child (stage, vase);
flower[0] = clutter_rectangle_new_with_color (CLUTTER_COLOR_Red);
clutter_actor_set_size (flower[0], 100, 100);
@ -253,7 +253,7 @@ margin_layout (TestConformSimpleFixture *fixture,
TestState *state;
vase = clutter_box_new (clutter_flow_layout_new (CLUTTER_FLOW_HORIZONTAL));
clutter_container_add_actor (CLUTTER_CONTAINER (stage), vase);
clutter_actor_add_child (stage, vase);
flower[0] = clutter_rectangle_new_with_color (CLUTTER_COLOR_Red);
clutter_actor_set_size (flower[0], 100, 100);