tests: disable deprecation warnings

define GLIB_DISABLE_DEPRECATION_WARNINGS earlier so that it is defined before
the glib headers are loaded or else we trip over the GValueArray deprecations in
gst-inspect.c.
This commit is contained in:
Wim Taymans 2012-09-10 10:08:09 +02:00
parent 36d5c586b1
commit ae0fdebaca

View file

@ -17,6 +17,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
#include <config.h>
#include <gst/check/gstcheck.h>