From: Edward Hervey Date: Wed, 25 Jan 2012 11:50:44 +0000 (+0100) Subject: Suppress deprecations in selected files X-Git-Tag: RELEASE-0.11.2~112 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=47fc70ea79a6df2f1412163a32e90cdbe5b221a2;p=platform%2Fupstream%2Fgst-plugins-base.git Suppress deprecations in selected files --- diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 47e58ad..e45665a 100644 --- a/gst/adder/gstadder.c +++ b/gst/adder/gstadder.c @@ -43,6 +43,11 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif + +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GLib versions (>= 2.31.0) */ +#define GLIB_DISABLE_DEPRECATION_WARNINGS + #include "gstadder.h" #include #include /* strcmp */ diff --git a/tests/examples/audio/audiomix.c b/tests/examples/audio/audiomix.c index 937f4db..4ad1894 100644 --- a/tests/examples/audio/audiomix.c +++ b/tests/examples/audio/audiomix.c @@ -23,6 +23,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/examples/audio/volume.c b/tests/examples/audio/volume.c index d5bf9ed..a5e13c4 100644 --- a/tests/examples/audio/volume.c +++ b/tests/examples/audio/volume.c @@ -23,6 +23,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include diff --git a/tests/examples/seek/jsseek.c b/tests/examples/seek/jsseek.c index 2e2beb8..5c85f12 100644 --- a/tests/examples/seek/jsseek.c +++ b/tests/examples/seek/jsseek.c @@ -24,6 +24,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/examples/seek/scrubby.c b/tests/examples/seek/scrubby.c index d77ca24..ac5b2b4 100644 --- a/tests/examples/seek/scrubby.c +++ b/tests/examples/seek/scrubby.c @@ -1,3 +1,9 @@ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include #include #include diff --git a/tests/examples/seek/seek.c b/tests/examples/seek/seek.c index e556c64..2640cca 100644 --- a/tests/examples/seek/seek.c +++ b/tests/examples/seek/seek.c @@ -24,6 +24,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/icles/test-colorkey.c b/tests/icles/test-colorkey.c index f7fab58..d47df63 100644 --- a/tests/icles/test-colorkey.c +++ b/tests/icles/test-colorkey.c @@ -22,6 +22,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include #include diff --git a/tests/icles/test-videooverlay.c b/tests/icles/test-videooverlay.c index 8b5f5e4..a9094dd 100644 --- a/tests/icles/test-videooverlay.c +++ b/tests/icles/test-videooverlay.c @@ -22,6 +22,9 @@ #ifdef HAVE_CONFIG_H #include "config.h" #endif +/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex + * with newer GTK versions (>= 3.3.0) */ +#define GDK_DISABLE_DEPRECATION_WARNINGS #include #include