diff options
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 |