[next] telepathy-glib: Add defs for 0.22 branch
Simon McVittie
smcv at kemper.freedesktop.org
Mon Oct 8 08:23:39 PDT 2012
Module: telepathy-glib
Branch: next
Commit: cb289352235a5c53815bcaf542c9edbbbd325d4d
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=cb289352235a5c53815bcaf542c9edbbbd325d4d
Author: Xavier Claessens <xavier.claessens at collabora.co.uk>
Date: Thu Oct 4 11:21:33 2012 +0200
Add defs for 0.22 branch
---
telepathy-glib/defs.h | 15 +++++++++++++++
1 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h
index d7a36c6..80d24c1 100644
--- a/telepathy-glib/defs.h
+++ b/telepathy-glib/defs.h
@@ -159,6 +159,7 @@ G_BEGIN_DECLS
#define TP_VERSION_0_16 (_TP_ENCODE_VERSION (0, 16))
#define TP_VERSION_0_18 (_TP_ENCODE_VERSION (0, 18))
#define TP_VERSION_0_20 (_TP_ENCODE_VERSION (0, 20))
+#define TP_VERSION_0_22 (_TP_ENCODE_VERSION (0, 22))
#define TP_VERSION_1_0 (_TP_ENCODE_VERSION (1, 0))
#if (TP_MINOR_VERSION == 99)
@@ -220,6 +221,14 @@ G_BEGIN_DECLS
# define _TP_DEPRECATED_IN_0_20_FOR(f) /* nothing */
#endif
+#if TP_VERSION_MIN_REQUIRED >= TP_VERSION_0_22
+# define _TP_DEPRECATED_IN_0_22 _TP_DEPRECATED
+# define _TP_DEPRECATED_IN_0_22_FOR(f) _TP_DEPRECATED_FOR(f)
+#else
+# define _TP_DEPRECATED_IN_0_22 /* nothing */
+# define _TP_DEPRECATED_IN_0_22_FOR(f) /* nothing */
+#endif
+
#if TP_VERSION_MIN_REQUIRED >= TP_VERSION_1_0
# define _TP_DEPRECATED_IN_1_0 _TP_DEPRECATED
# define _TP_DEPRECATED_IN_1_0_FOR(f) _TP_DEPRECATED_FOR(f)
@@ -254,6 +263,12 @@ G_BEGIN_DECLS
# define _TP_AVAILABLE_IN_0_20 /* nothing */
#endif
+#if TP_VERSION_MAX_ALLOWED < TP_VERSION_0_22
+# define _TP_AVAILABLE_IN_0_22 _TP_UNAVAILABLE(0, 22)
+#else
+# define _TP_AVAILABLE_IN_0_22 /* nothing */
+#endif
+
#if TP_VERSION_MAX_ALLOWED < TP_VERSION_1_0
# define _TP_AVAILABLE_IN_1_0 _TP_UNAVAILABLE(1, 0)
#else
More information about the telepathy-commits
mailing list