summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.net>2013-02-25 09:58:13 +0000
committerTim-Philipp Müller <tim.muller@collabora.co.uk>2013-02-28 17:38:47 +0000
commit0427524d7320b1784c5a4cd6be7972591d2970dc (patch)
treea10b3876f394ea73729f59cd74a2489fc76d7d91
parent15a81baea58a8a6e9dfa9ddf5cf93da4e5d8a04c (diff)
tests: re-add suppression for GValueArray warnings to unit test as well
-rw-r--r--tests/check/elements/level.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/check/elements/level.c b/tests/check/elements/level.c
index 3ce7ad283..ef1d9fe4d 100644
--- a/tests/check/elements/level.c
+++ b/tests/check/elements/level.c
@@ -23,6 +23,10 @@
#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>