gstconfig.h: want deprecation warnings if GST_DISABLE_DEPRECATED is *set*

Fix inverted logic. If GST_DISABLE_DEPRECATED is undefined,
we don't want warnings about deprecated API, and if it's
defined we do want warnings.
This commit is contained in:
Tim-Philipp Müller 2018-02-15 12:09:31 +00:00
parent c10668374d
commit ea402c7034

View file

@ -159,7 +159,7 @@
* and thus have to be exposed in installed headers. But please
* do *not* use them in other projects. Instead, use G_DEPRECATED
* or define your own wrappers around it. */
#ifdef GST_DISABLE_DEPRECATED
#ifndef GST_DISABLE_DEPRECATED
#define GST_DEPRECATED GST_EXPORT
#define GST_DEPRECATED_FOR(f) GST_EXPORT
#else