From 1bc24d3ed03c22202a9628892f0e2dc1efa37f86 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 4 May 2012 16:36:10 +0100 Subject: Add _TP_DEPRECATED_IN_UNRELEASED, ..._FOR Reviewed-by: Xavier Claessens --- telepathy-glib/defs.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h index 3c21e423e..85677f478 100644 --- a/telepathy-glib/defs.h +++ b/telepathy-glib/defs.h @@ -232,6 +232,14 @@ G_BEGIN_DECLS # define _TP_DEPRECATED_IN_1_0_FOR(f) /* nothing */ #endif +#if TP_VERSION_MIN_REQUIRED >= _TP_VERSION_CUR_STABLE +# define _TP_DEPRECATED_IN_UNRELEASED _TP_DEPRECATED +# define _TP_DEPRECATED_IN_UNRELEASED_FOR(f) _TP_DEPRECATED_FOR(f) +#else +# define _TP_DEPRECATED_IN_UNRELEASED /* nothing */ +# define _TP_DEPRECATED_IN_UNRELEASED_FOR(f) /* nothing */ +#endif + #if TP_VERSION_MAX_ALLOWED < TP_VERSION_0_16 # define _TP_AVAILABLE_IN_0_16 _TP_UNAVAILABLE(0, 16) #else -- cgit v1.2.3