meson: fix tests build with --werror
authorTim-Philipp Müller <tim@centricular.com>
Thu, 15 Jun 2017 09:51:50 +0000 (10:51 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Thu, 15 Jun 2017 09:53:11 +0000 (10:53 +0100)
commit25bf82a1875cf841b71efde276f36bcf32c14047
tree7f7a998e38d5f853270a01713cfbe681771bc880
parent688d79033f5e212f64d6f81060bf275f8a319ec2
meson: fix tests build with --werror

Need to pass -DGST_DISABLE_DEPRECATED to avoid warnings when
testing deprecated API such as gst_uri_construct().

Also remove #ifndef GST_DISABLE_DEPRECATED guard from header
file, we don't use those any more for functions, the
GST_DEPRECATED_FOR macro is enough.
gst/gsturi.c
gst/gsturi.h
tests/check/gst/gsturi.c
tests/check/meson.build