From 82041de9b5064c3b3867cde1639d90b8a0edc36f Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sat, 10 Mar 2012 23:10:55 -0500 Subject: [PATCH] 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 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 616ee78584..6e64534956 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 0b3f81e2ef..185c967f9d 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 \