From 24a451b388c15c2f4d6987d4634ed5dae3cb91cd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Fri, 2 Dec 2011 15:38:25 +0000 Subject: [PATCH] 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. --- tests/conform/test-actor-layout.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/conform/test-actor-layout.c b/tests/conform/test-actor-layout.c index f749eca87..74b83e30b 100644 --- a/tests/conform/test-actor-layout.c +++ b/tests/conform/test-actor-layout.c @@ -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);