diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-01-30 11:57:11 +0000 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-01-30 11:57:11 +0000 |
commit | 01749c3282a7346256f3ff2af6357fd1576a44ca (patch) | |
tree | ec1be79c3212bd3bebe645dfe35a5f34fce7fd98 /tests | |
parent | 218525a1e87a4926a94d961b8393edcbb5e1c08a (diff) | |
download | clutter-gst-01749c3282a7346256f3ff2af6357fd1576a44ca.tar.gz |
remove usage of ClutterContainer
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-alpha.c | 3 | ||||
-rw-r--r-- | tests/test-start-stop.c | 2 |
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 (); |