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