diff --git a/gst/adder/gstadder.c b/gst/adder/gstadder.c index 47e58ad034..e45665a464 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 937f4db6f6..4ad1894221 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 d5bf9edbb0..a5e13c418e 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 2e2beb86f9..5c85f12523 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 d77ca24083..ac5b2b48bc 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 e556c64178..2640ccaa0a 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 f7fab58637..d47df63258 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 8b5f5e43c4..a9094dde10 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