Suppress deprecation warnings in selected files, for g_static_rec_mutex_* mostly
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 4 Dec 2011 14:38:26 +0000 (14:38 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 4 Dec 2011 14:38:26 +0000 (14:38 +0000)
GStaticRecMutex is part of our API/ABI, not much we can do here in 0.10.

gst/gstbin.c
gst/gstelement.c
gst/gstpad.c
gst/gsttask.c
gst/gstutils.c
libs/gst/base/gstbaseparse.c
libs/gst/base/gstbasesink.c
libs/gst/base/gstbasesrc.c
libs/gst/base/gstbasetransform.c
libs/gst/base/gstcollectpads2.c
plugins/elements/gstmultiqueue.c

index 417490e..f3d1b56 100644 (file)
  * Last reviewed on 2006-04-28 (0.10.6)
  */
 
+/* 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_private.h"
 
 #include "gstevent.h"
index 6577428..9328dfe 100644 (file)
@@ -79,6 +79,9 @@
  * Last reviewed on 2009-05-29 (0.10.24)
  */
 
+/* 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_private.h"
 #include <glib.h>
 #include <stdarg.h>
index 206c545..ef28bf5 100644 (file)
@@ -60,6 +60,9 @@
  * Last reviewed on 2006-07-06 (0.10.9)
  */
 
+/* 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_private.h"
 
 #include "gstpad.h"
index c66c7b7..4aae349 100644 (file)
@@ -68,6 +68,9 @@
  * Last reviewed on 2010-03-15 (0.10.29)
  */
 
+/* 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_private.h"
 
 #include "gstinfo.h"
index 84f3c3d..9a0e807 100644 (file)
@@ -28,6 +28,9 @@
  * When defining own plugins, use the GST_BOILERPLATE ease gobject creation.
  */
 
+/* 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_private.h"
 #include <stdio.h>
 #include <string.h>
index 3cd4db5..c49260c 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+/* 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/base/gstadapter.h>
 
 #include "gstbaseparse.h"
index 32399e9..338eeb5 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_private.h>
 
 #include "gstbasesink.h"
index cc9631a..0f352d4 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+/* 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_private.h>
 #include <gst/glib-compat-private.h>
 
index 6946ae9..5622a9b 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
+/* 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_private.h"
 #include "../../../gst/gst-i18n-lib.h"
 #include "../../../gst/glib-compat-private.h"
index fbd6150..0505da6 100644 (file)
  * Since: 0.10.36
  */
 
+#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 <gst/gst_private.h>
+
 #include "gstcollectpads2.h"
 
 #include "../../../gst/glib-compat-private.h"
index 89d2289..0054715 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 <stdio.h>
 #include "gstmultiqueue.h"