telepathy-glib: util.h: define tp_value_array_free if version is at least 0 .24

Guillaume Desmottes gdesmott at kemper.freedesktop.org
Mon Oct 28 07:11:04 PDT 2013


Module: telepathy-glib
Branch: master
Commit: 23949e9d81b968d8c0b9bcbb21c949cf246c22f7
URL:    http://cgit.freedesktop.org/telepathy/telepathy-glib/commit/?id=23949e9d81b968d8c0b9bcbb21c949cf246c22f7

Author: Guillaume Desmottes <guillaume.desmottes at collabora.co.uk>
Date:   Mon Oct 28 15:05:52 2013 +0100

util.h: define tp_value_array_free if version is at least 0.24

---

 telepathy-glib/util.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/telepathy-glib/util.h b/telepathy-glib/util.h
index d00f69b..af63a3a 100644
--- a/telepathy-glib/util.h
+++ b/telepathy-glib/util.h
@@ -120,7 +120,7 @@ void tp_value_array_unpack (GValueArray *array,
 /* Work around GLib having deprecated something that is part of our API. */
 _TP_AVAILABLE_IN_0_24
 void tp_value_array_free (GValueArray *va);
-#if TP_VERSION_MAX_ALLOWED >= _TP_VERSION_CUR_STABLE
+#if TP_VERSION_MAX_ALLOWED >= TP_VERSION_0_24
 #define tp_value_array_free(va) _tp_value_array_free_inline (va)
 #ifndef __GTK_DOC_IGNORE__ /* gtk-doc can't parse this */
 static inline void



More information about the telepathy-commits mailing list