diff options
author | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-04 16:36:10 +0100 |
---|---|---|
committer | Simon McVittie <simon.mcvittie@collabora.co.uk> | 2012-05-07 17:06:29 +0100 |
commit | 1bc24d3ed03c22202a9628892f0e2dc1efa37f86 (patch) | |
tree | d902ce859ef20bc19a89440799925caac1e8887a | |
parent | a95806d419ba88a57a1f5793e86bfe99a0d4dc02 (diff) |
Add _TP_DEPRECATED_IN_UNRELEASED, ..._FOR
Reviewed-by: Xavier Claessens <xavier.claessens@collabora.co.uk>
-rw-r--r-- | telepathy-glib/defs.h | 8 |
1 files changed, 8 insertions, 0 deletions
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 |