summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
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 ();