summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-01-30 11:57:11 +0000
committerLionel Landwerlin <llandwerlin@gmail.com>2013-01-30 11:57:11 +0000
commit01749c3282a7346256f3ff2af6357fd1576a44ca (patch)
treeec1be79c3212bd3bebe645dfe35a5f34fce7fd98 /tests
parent218525a1e87a4926a94d961b8393edcbb5e1c08a (diff)
downloadclutter-gst-01749c3282a7346256f3ff2af6357fd1576a44ca.tar.gz
remove usage of ClutterContainer
Diffstat (limited to 'tests')
-rw-r--r--tests/test-alpha.c3
-rw-r--r--tests/test-start-stop.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/tests/test-alpha.c b/tests/test-alpha.c
index 23e8844..e1e78e6 100644
--- a/tests/test-alpha.c
+++ b/tests/test-alpha.c
@@ -197,7 +197,8 @@ main (int argc, char *argv[])
g_critical("Could not link elements");
gst_element_set_state (GST_ELEMENT(pipeline), GST_STATE_PLAYING);
- clutter_container_add (CLUTTER_CONTAINER (stage), rectangle, texture, NULL);
+ clutter_actor_add_child (stage, rectangle);
+ clutter_actor_add_child (stage, texture);
clutter_actor_show_all (stage);
animation = clutter_actor_animate (texture, CLUTTER_LINEAR, 6000,
diff --git a/tests/test-start-stop.c b/tests/test-start-stop.c
index 62801c7..7b6efab 100644
--- a/tests/test-start-stop.c
+++ b/tests/test-start-stop.c
@@ -160,7 +160,7 @@ main (int argc, char *argv[])
clutter_media_set_audio_volume (CLUTTER_MEDIA(video), 0.5);
clutter_media_set_playing (CLUTTER_MEDIA(video), TRUE);
- clutter_container_add (CLUTTER_CONTAINER(stage), video, NULL);
+ clutter_actor_add_child (stage, video);
clutter_actor_show_all (stage);
clutter_main ();