[next] telepathy-glib: Fix computation of CUR_STABLE, PREV_STABLE for nearly-0.19 (0.18.999.1)
Simon McVittie
smcv at kemper.freedesktop.org
Thu May 3 05:47:01 PDT 2012
Module: telepathy-glib
Branch: next
Commit: f524ee716e4e2fdb959c1dd28210a3a8dfc6cbfe
URL: http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=f524ee716e4e2fdb959c1dd28210a3a8dfc6cbfe
Author: Simon McVittie <simon.mcvittie at collabora.co.uk>
Date: Thu May 3 12:31:31 2012 +0100
Fix computation of CUR_STABLE, PREV_STABLE for nearly-0.19 (0.18.999.1)
---
telepathy-glib/defs.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/telepathy-glib/defs.h b/telepathy-glib/defs.h
index dd46492..3c21e42 100644
--- a/telepathy-glib/defs.h
+++ b/telepathy-glib/defs.h
@@ -165,6 +165,12 @@ G_BEGIN_DECLS
/* special case for telepathy-glib 1.0 itself */
# define _TP_VERSION_CUR_STABLE (_TP_ENCODE_VERSION (TP_MAJOR_VERSION, 0))
# define _TP_VERSION_PREV_STABLE (_TP_ENCODE_VERSION (TP_MAJOR_VERSION, 0))
+#elif (TP_MICRO_VERSION >= 99 && (TP_MINOR_VERSION % 2) == 0)
+ /* development branch about to start (0.18.999.1) */
+# define _TP_VERSION_CUR_STABLE \
+ (_TP_ENCODE_VERSION (TP_MAJOR_VERSION, TP_MINOR_VERSION + 2))
+# define _TP_VERSION_PREV_STABLE \
+ (_TP_ENCODE_VERSION (TP_MAJOR_VERSION, TP_MINOR_VERSION))
#elif (TP_MINOR_VERSION % 2)
/* development branch */
# define _TP_VERSION_CUR_STABLE \
More information about the telepathy-commits
mailing list