From 218525a1e87a4926a94d961b8393edcbb5e1c08a Mon Sep 17 00:00:00 2001 From: Lionel Landwerlin Date: Wed, 30 Jan 2013 11:32:23 +0000 Subject: remove clutter_stage_get_default() calls --- tests/test-alpha.c | 2 +- tests/test-rgb-upload.c | 2 +- tests/test-start-stop.c | 2 +- tests/test-yuv-upload.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'tests') 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 -- cgit v1.2.1