From 8ae47eb79c0c67faaf8c594aa7e8e2560abc358e Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Thu, 16 Dec 2010 15:08:11 +0000 Subject: [PATCH] interactive: Remove test-offscreen The test-offscreen interactive test was a dummy test for the ClutterStage:offscreen property, which has been deprecated and not implemented since Clutter 1.0, and never really worked except briefly in Clutter 0.2 or something. --- tests/interactive/Makefile.am | 1 - tests/interactive/test-offscreen.c | 32 ------------------------------ 2 files changed, 33 deletions(-) delete mode 100644 tests/interactive/test-offscreen.c diff --git a/tests/interactive/Makefile.am b/tests/interactive/Makefile.am index a3649991c..3c8595a1d 100644 --- a/tests/interactive/Makefile.am +++ b/tests/interactive/Makefile.am @@ -5,7 +5,6 @@ UNIT_TESTS = \ test-texture-async.c \ test-texture-material.c \ test-events.c \ - test-offscreen.c \ test-scale.c \ test-actors.c \ test-actor-clone.c \ diff --git a/tests/interactive/test-offscreen.c b/tests/interactive/test-offscreen.c deleted file mode 100644 index f89a422a3..000000000 --- a/tests/interactive/test-offscreen.c +++ /dev/null @@ -1,32 +0,0 @@ -#include -#include - -/* Very simple test just to see what happens setting up offscreen rendering */ - -G_MODULE_EXPORT int -test_offscreen_main (int argc, char *argv[]) -{ - ClutterActor *stage; - gboolean offscreen; - - clutter_init (&argc, &argv); - - stage = clutter_stage_get_default (); - - /* Attempt to set up rendering offscreen */ - g_object_set (stage, "offscreen", TRUE, NULL); - - /* See if it worked */ - g_object_get (stage, "offscreen", &offscreen, NULL); - - if (offscreen == FALSE) - printf ("FAIL: Unable to setup offscreen rendering\n."); - else - printf ("SUCCESS: Able to setup offscreen rendering\n."); - - clutter_actor_show_all (CLUTTER_ACTOR (stage)); - - clutter_main(); - - return 0; -}