[empathy] Make use of new GTK+ macros to check API we are using



commit 75b8c79344484b3c16ec1a009ff7863f8535b850
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Mar 7 11:04:18 2012 +0100

    Make use of new GTK+ macros to check API we are using

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 119ee9d..76d02e4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,7 +37,11 @@ AC_COPYRIGHT([
 FOLKS_REQUIRED=0.6.6
 GLIB_REQUIRED=2.30.0
 GNUTLS_REQUIRED=2.8.5
+
 GTK_REQUIRED=3.0.2
+AC_DEFINE(GDK_VERSION_MIN_REQUIRED, GDK_VERSION_3_0, [Ignore post 3.0 deprecations])
+AC_DEFINE(GDK_VERSION_MAX_REQUIRED, GDK_VERSION_3_0, [Prevent post 3.0 APIs])
+
 GSTREAMER_REQUIRED=0.10.32
 KEYRING_REQUIRED=2.26.0
 GCR_REQUIRED=2.91.4



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]