gstreamer: Suppress deprecation warnings in selected files, for g_value_array_* mostly

Edward Hervey bilboed at kemper.freedesktop.org
Mon Feb 27 04:44:22 PST 2012


Module: gstreamer
Branch: master
Commit: 823807c5f0e6cf6ca28268eda1c61d2454ff9b79
URL:    http://cgit.freedesktop.org/gstreamer/gstreamer/commit/?id=823807c5f0e6cf6ca28268eda1c61d2454ff9b79

Author: Edward Hervey <edward.hervey at collabora.co.uk>
Date:   Mon Feb 27 13:35:10 2012 +0100

Suppress deprecation warnings in selected files, for g_value_array_* mostly

---

 gst/gstquery.c      |    5 +++++
 tools/gst-inspect.c |    4 ++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/gst/gstquery.c b/gst/gstquery.c
index 2b1c382..d9c48f8 100644
--- a/gst/gstquery.c
+++ b/gst/gstquery.c
@@ -61,6 +61,11 @@
  * Last reviewed on 2006-02-14 (0.10.4)
  */
 
+
+/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #include "gst_private.h"
 #include "gstinfo.h"
 #include "gstquery.h"
diff --git a/tools/gst-inspect.c b/tools/gst-inspect.c
index 75e5181..f8d2f2f 100644
--- a/tools/gst-inspect.c
+++ b/tools/gst-inspect.c
@@ -21,6 +21,10 @@
  * Boston, MA 02111-1307, USA.
  */
 
+/* FIXME 0.11: suppress warnings for deprecated API such as GValueArray
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #ifdef HAVE_CONFIG_H
 #  include "config.h"
 #endif



More information about the gstreamer-commits mailing list