gst: add GST_DEPRECATED_FOR() and also export deprecated symbols
authorTim-Philipp Müller <tim@centricular.com>
Wed, 10 May 2017 12:07:31 +0000 (13:07 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Mon, 15 May 2017 22:14:20 +0000 (23:14 +0100)
commit0eecc49c1339932c5983c07226546ab3d00d7e34
treec1baf450594082c9d3403bd3169285ad087d12a6
parent92d3246f769c44ba1a5241a3b1febf2881aad022
gst: add GST_DEPRECATED_FOR() and also export deprecated symbols

Can't use a #ifndef GST_DISABLE_DEPRECATED guard around deprecated
functions any more, as they won't get exported then. Besides, we
get a nicer error message from the compiler telling us what function
to use instead this way.
gst/gstconfig.h.in
gst/gstobject.c
gst/gstobject.h
gst/gstsegment.c
gst/gstsegment.h