[gtk+] Drop unneeded XI2 defines



commit 82041de9b5064c3b3867cde1639d90b8a0edc36f
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 10 23:10:55 2012 -0500

    Drop unneeded XI2 defines
    
    The X headers don't use these defines anywhere.

 configure.ac        |    2 +-
 gdk/x11/Makefile.am |    2 --
 2 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 616ee78..6e64534 100644
--- a/configure.ac
+++ b/configure.ac
@@ -931,7 +931,7 @@ if test "x$enable_x11_backend" = xyes; then
     have_base_x_pc=true
     X_PACKAGES="$X_PACKAGES x11 xext"
     x_libs="`$PKG_CONFIG --libs x11 xext`"
-    X_CFLAGS="`$PKG_CONFIG --cflags x11 xext` -DXINPUT2_1_USE_UNSTABLE_PROTOCOL -DXINPUT2_2_USE_UNSTABLE_PROTOCOL"
+    X_CFLAGS="`$PKG_CONFIG --cflags x11 xext`"
 
     # Strip out any .la files that pkg-config might give us (this happens
     # with -uninstalled.pc files)
diff --git a/gdk/x11/Makefile.am b/gdk/x11/Makefile.am
index 0b3f81e..185c967 100644
--- a/gdk/x11/Makefile.am
+++ b/gdk/x11/Makefile.am
@@ -7,8 +7,6 @@ libgdkx11includedir = $(includedir)/gtk-3.0/gdk/x11
 AM_CPPFLAGS = 			\
 	-DG_LOG_DOMAIN=\"Gdk\"	\
 	-DGDK_COMPILATION	\
-	-DXINPUT2_2_USE_UNSTABLE_PROTOCOL \
-	-DXINPUT2_1_USE_UNSTABLE_PROTOCOL \
 	-I$(top_srcdir)		\
 	-I$(top_srcdir)/gdk	\
 	-I$(top_builddir)/gdk	\



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