Add missing GLIB_DISABLE_DEPRECATION_WARNINGS
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Tue, 28 Feb 2012 15:27:55 +0000 (16:27 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 28 Feb 2012 22:55:34 +0000 (22:55 +0000)
Suppress warnings about deprecated threading and GValueArray
API, so git compiles with -Werror.

https://bugzilla.gnome.org/show_bug.cgi?id=670982

gst/mpegdemux/flutspmtinfo.c
gst/mpegdemux/flutspmtstreaminfo.c
gst/mpegdemux/gstmpegtsdemux.c
gst/mpegdemux/mpegtspacketizer.c
gst/rawparse/gstaudioparse.c
sys/dvb/camutils.c
tests/examples/opencv/gst_element_print_properties.c
tests/examples/scaletempo/demo-gui.c

index 65402e7..5b25e25 100644 (file)
 #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 <gst/gst.h>
 
 #include "flutspmtinfo.h"
index 7ab5ba4..95177f8 100644 (file)
 #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 <gst/gst.h>
 
 #include "flutspmtstreaminfo.h"
index 012c1cc..cdfe081 100644 (file)
 #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 <string.h>
 #include <stdlib.h>
 
index ed1d0ac..089254d 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #include <string.h>
 
 #include "mpegtspacketizer.h"
index d4f82ba..12c5097 100644 (file)
 #  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 "gstaudioparse.h"
 
 #include <gst/audio/multichannel.h>
index b3062b5..721b5cd 100644 (file)
  * Boston, MA 02111-1307, USA.
  */
 
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #include <gst/gst.h>
 #include <string.h>
 
index 4192fe8..3d7ae78 100644 (file)
  *
  */
 
+/* FIXME 0.11: suppress warnings for deprecated API such as GStaticRecMutex
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 
 #include <gst/gst.h>
 #include <string.h>
index 61a5a66..9afce89 100644 (file)
 #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 <gst/glib-compat-private.h>
 #include <gtk/gtk.h>
 #include <glib/gprintf.h>