diff options
author | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-01-30 11:32:23 +0000 |
---|---|---|
committer | Lionel Landwerlin <llandwerlin@gmail.com> | 2013-01-30 11:32:23 +0000 |
commit | 218525a1e87a4926a94d961b8393edcbb5e1c08a (patch) | |
tree | 2b0ce3753a4f2289a6974be7488f625309762fa4 /tests | |
parent | be41781365d0b33b258a4275dc65c5f20e4ac75f (diff) | |
download | clutter-gst-218525a1e87a4926a94d961b8393edcbb5e1c08a.tar.gz |
remove clutter_stage_get_default() calls
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test-alpha.c | 2 | ||||
-rw-r--r-- | tests/test-rgb-upload.c | 2 | ||||
-rw-r--r-- | tests/test-start-stop.c | 2 | ||||
-rw-r--r-- | tests/test-yuv-upload.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/test-alpha.c b/tests/test-alpha.c index 238508e..23e8844 100644 --- a/tests/test-alpha.c +++ b/tests/test-alpha.c @@ -140,7 +140,7 @@ main (int argc, char *argv[]) } - stage = clutter_stage_get_default (); + stage = clutter_stage_new (); clutter_actor_set_size (stage, 320.0f, 240.0f); clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color); diff --git a/tests/test-rgb-upload.c b/tests/test-rgb-upload.c index 22f77c5..5a324d5 100644 --- a/tests/test-rgb-upload.c +++ b/tests/test-rgb-upload.c @@ -132,7 +132,7 @@ main (int argc, char *argv[]) return EXIT_FAILURE; } - stage = clutter_stage_get_default (); + stage = clutter_stage_new (); clutter_actor_set_size (CLUTTER_ACTOR (stage), 320.0f, 240.0f); /* We need to set certain props on the target texture currently for diff --git a/tests/test-start-stop.c b/tests/test-start-stop.c index 7128343..62801c7 100644 --- a/tests/test-start-stop.c +++ b/tests/test-start-stop.c @@ -141,7 +141,7 @@ main (int argc, char *argv[]) error = clutter_gst_init (&argc, &argv); g_assert (error == CLUTTER_INIT_SUCCESS); - stage = clutter_stage_get_default (); + stage = clutter_stage_new (); clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color); video = clutter_gst_video_texture_new (); diff --git a/tests/test-yuv-upload.c b/tests/test-yuv-upload.c index a8ee1dd..1b8b02b 100644 --- a/tests/test-yuv-upload.c +++ b/tests/test-yuv-upload.c @@ -119,7 +119,7 @@ main (int argc, char *argv[]) return EXIT_FAILURE; } - stage = clutter_stage_get_default (); + stage = clutter_stage_new (); clutter_actor_set_size (CLUTTER_ACTOR(stage), 320.0f, 240.0f); /* We need to set certain props on the target texture currently for |