]> Pileus Git - ~andy/gtk/commitdiff
Drop unneeded XI2 defines
authorMatthias Clasen <mclasen@redhat.com>
Sun, 11 Mar 2012 04:10:55 +0000 (23:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 11 Mar 2012 04:13:19 +0000 (23:13 -0500)
The X headers don't use these defines anywhere.

configure.ac
gdk/x11/Makefile.am

index 616ee785847c7c2798380cea00301722387fa974..6e645349568eb12eb9091993754bd6194337611a 100644 (file)
@@ -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)
index 0b3f81e2ef66a946cc67624e7cdcc002566e8088..185c967f9d09207c10fc400b4a1810ad01802d3d 100644 (file)
@@ -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   \