From 9e61cfcf38be9580341af1edf6269000205209e8 Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 12 Oct 2011 09:57:33 +0100 Subject: [PATCH] tests: Disable deprecation warnings --- tests/conform/test-clutter-cairo-texture.c | 1 + tests/conform/test-texture-fbo.c | 2 +- tests/interactive/test-cairo-flowers.c | 1 + tests/interactive/test-fbo.c | 2 +- tests/interactive/test-shader.c | 2 +- 5 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/conform/test-clutter-cairo-texture.c b/tests/conform/test-clutter-cairo-texture.c index d0700bfb7..5708f5a31 100644 --- a/tests/conform/test-clutter-cairo-texture.c +++ b/tests/conform/test-clutter-cairo-texture.c @@ -1,4 +1,5 @@ #undef CLUTTER_DISABLE_DEPRECATED +#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/conform/test-texture-fbo.c b/tests/conform/test-texture-fbo.c index 9ec82cbee..6bbfaf379 100644 --- a/tests/conform/test-texture-fbo.c +++ b/tests/conform/test-texture-fbo.c @@ -1,5 +1,5 @@ #undef CLUTTER_DISABLE_DEPRECATED - +#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/interactive/test-cairo-flowers.c b/tests/interactive/test-cairo-flowers.c index b2c0352cb..17ff4a0ad 100644 --- a/tests/interactive/test-cairo-flowers.c +++ b/tests/interactive/test-cairo-flowers.c @@ -3,6 +3,7 @@ */ #undef CLUTTER_DISABLE_DEPRECATED +#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #include #ifndef _MSC_VER diff --git a/tests/interactive/test-fbo.c b/tests/interactive/test-fbo.c index 115063bdc..b50d974d6 100644 --- a/tests/interactive/test-fbo.c +++ b/tests/interactive/test-fbo.c @@ -1,5 +1,5 @@ #undef CLUTTER_DISABLE_DEPRECATED - +#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/interactive/test-shader.c b/tests/interactive/test-shader.c index 79a014b88..f9f6f5663 100644 --- a/tests/interactive/test-shader.c +++ b/tests/interactive/test-shader.c @@ -1,7 +1,7 @@ /*#define TEST_GROUP */ #undef CLUTTER_DISABLE_DEPRECATED - +#define CLUTTER_DISABLE_DEPRECATION_WARNINGS #include #include