[gtk+] Cleanup leftover code in gtkplug-x11



commit 733cb5e43d10003c78921c69f0675487ae0b032b
Author: Carlos Garnacho <carlosg gnome org>
Date:   Mon Jan 10 23:11:42 2011 +0100

    Cleanup leftover code in gtkplug-x11
    
    This code was part of the GdkDeviceManagerCore hack

 gtk/gtkplug-x11.c |   15 ---------------
 1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/gtk/gtkplug-x11.c b/gtk/gtkplug-x11.c
index e7d8b4c..4e1a7b1 100644
--- a/gtk/gtkplug-x11.c
+++ b/gtk/gtkplug-x11.c
@@ -27,21 +27,6 @@
 
 #include "config.h"
 
-#if 0
-#ifdef XINPUT_2
-
-/* Hack to have keyboard events interpreted
- * regardless of the default device manager
- */
-#define GDK_COMPILATION
-#include "x11/gdkdevicemanager-core.h"
-#include "x11/gdkdevicemanager-xi2.h"
-#include "x11/gdkeventtranslator.h"
-#undef GDK_COMPILATION
-
-#endif /* XINPUT_2 */
-#endif
-
 #include "gtkmain.h"
 #include "gtkmarshalers.h"
 #include "gtkplug.h"



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