tests: re-add suppression for GValueArray warnings to unit test as well
authorTim-Philipp Müller <tim@centricular.net>
Mon, 25 Feb 2013 09:58:13 +0000 (09:58 +0000)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 28 Feb 2013 17:38:47 +0000 (17:38 +0000)
tests/check/elements/level.c

index 3ce7ad2..ef1d9fe 100644 (file)
 #include <unistd.h>
 #include <math.h>
 
+/* suppress warnings for deprecated API such as GValueArray
+ * with newer GLib versions (>= 2.31.0) */
+#define GLIB_DISABLE_DEPRECATION_WARNINGS
+
 #include <gst/audio/audio.h>
 #include <gst/check/gstcheck.h>