telepathy-idle: configure: disable newer deprecations and API additions

Jonny Lamb jonny at kemper.freedesktop.org
Mon May 14 13:14:40 PDT 2012


Module: telepathy-idle
Branch: master
Commit: 84492da380ae2c0453e2c1aae9218e9f7df1909a
URL:    http://cgit.freedesktop.org/telepathy/telepathy-idle/commit/?id=84492da380ae2c0453e2c1aae9218e9f7df1909a

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Mon May 14 21:13:43 2012 +0100

configure: disable newer deprecations and API additions

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>

---

 configure.ac           |    2 ++
 src/idle-im-channel.c  |    2 ++
 src/idle-muc-channel.c |    2 ++
 src/idle-muc-manager.c |    2 ++
 4 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index f4510dc..7242ed7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -85,6 +85,8 @@ PKG_CHECK_MODULES(DBUS, [dbus-1 >= 0.51, dbus-glib-1 >= 0.51])
 AC_SUBST(DBUS_CFLAGS)
 AC_SUBST(DBUS_LIBS)
 
+AC_DEFINE(TP_VERSION_MIN_REQUIRED, TP_VERSION_0_18, [Ignore post 0.18 deprecations])
+AC_DEFINE(TP_VERSION_MAX_ALLOWED, TP_VERSION_0_20, [Prevent post 0.20 APIs])
 PKG_CHECK_MODULES(TELEPATHY, [telepathy-glib >= 0.15.9])
 
 AC_SUBST(TELEPATHY_CFLAGS)
diff --git a/src/idle-im-channel.c b/src/idle-im-channel.c
index 63a2116..6f312db 100644
--- a/src/idle-im-channel.c
+++ b/src/idle-im-channel.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "idle-im-channel.h"
 
 #include <time.h>
diff --git a/src/idle-muc-channel.c b/src/idle-muc-channel.c
index 6b13df5..294193b 100644
--- a/src/idle-muc-channel.c
+++ b/src/idle-muc-channel.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "idle-muc-channel.h"
 
 #include <ctype.h>
diff --git a/src/idle-muc-manager.c b/src/idle-muc-manager.c
index 684d4eb..653ffd0 100644
--- a/src/idle-muc-manager.c
+++ b/src/idle-muc-manager.c
@@ -18,6 +18,8 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#include "config.h"
+
 #include "idle-muc-manager.h"
 
 #include <time.h>



More information about the telepathy-commits mailing list