[clutter] tests: Disable deprecation warnings



commit 9e61cfcf38be9580341af1edf6269000205209e8
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Wed Oct 12 09:57:33 2011 +0100

    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 d0700bf..5708f5a 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 <clutter/clutter.h>
 #include <cogl/cogl.h>
 
diff --git a/tests/conform/test-texture-fbo.c b/tests/conform/test-texture-fbo.c
index 9ec82cb..6bbfaf3 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 <clutter/clutter.h>
 #include <cogl/cogl.h>
 
diff --git a/tests/interactive/test-cairo-flowers.c b/tests/interactive/test-cairo-flowers.c
index b2c0352..17ff4a0 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 <clutter/clutter.h>
 
 #ifndef _MSC_VER
diff --git a/tests/interactive/test-fbo.c b/tests/interactive/test-fbo.c
index 115063b..b50d974 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 <clutter/clutter.h>
 
 #include <errno.h>
diff --git a/tests/interactive/test-shader.c b/tests/interactive/test-shader.c
index 79a014b..f9f6f56 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 <clutter/clutter.h>
 
 #include <errno.h>



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]