summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim@centricular.com>2018-02-15 12:09:31 +0000
committerTim-Philipp Müller <tim@centricular.com>2018-02-15 12:11:41 +0000
commitea402c703464e5075258e5290159e819c1f4687a (patch)
tree289ad94f3b3a50119d5210914a7f9d8952340c13
parentc10668374dd93856160334aab233486c359b5d4c (diff)
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.
-rw-r--r--gst/gstconfig.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstconfig.h.in b/gst/gstconfig.h.in
index 943b9171a..019222816 100644
--- a/gst/gstconfig.h.in
+++ b/gst/gstconfig.h.in
@@ -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