Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2018-08-04 08:34:43 -0400
committerAlexander Kurtakov2018-08-04 08:38:55 -0400
commitfd1e6ebd529d85760cfcdb5900f01902cd70eb4b (patch)
treef836bf111de746e2bab8538fe027dab7774fe3cf
parente7d5fd30562726d69d90d36803450f0de3d59c4e (diff)
downloadeclipse.platform.swt-fd1e6ebd529d85760cfcdb5900f01902cd70eb4b.tar.gz
eclipse.platform.swt-fd1e6ebd529d85760cfcdb5900f01902cd70eb4b.tar.xz
eclipse.platform.swt-fd1e6ebd529d85760cfcdb5900f01902cd70eb4b.zip
Fix compiation without XTest.
No longer used for anything. Change-Id: I869f3ad59f28e0f374fde770f08880e324072f12 Signed-off-by: Alexander Kurtakov <akurtako@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
index c7e19a99c6..2da3e23995 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
+++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.h
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2016 IBM Corporation and others. All rights reserved.
+ * Copyright (c) 2000, 2018 IBM Corporation and others. All rights reserved.
* The contents of this file are made available under the terms
* of the GNU Lesser General Public License (LGPL) Version 2.1 that
* accompanies this distribution (lgpl-v21.txt). The LGPL is also
@@ -106,9 +106,6 @@
#if GTK_CHECK_VERSION(3,0,0)
#include <gtk/gtkx.h>
#endif
-
-#include <X11/extensions/XTest.h>
-
#else
#define NO_GDK_1IS_1X11_1DISPLAY
@@ -135,9 +132,7 @@
#define NO__1XSetIOErrorHandler
#define NO__1XSetTransientForHint
#define NO__1XSynchronize
-#define NO__1XTestFakeButtonEvent
-#define NO__1XTestFakeKeyEvent
-#define NO__1XWarpPointer
+X#define NO__1XWarpPointer
#define NO__1GDK_1PIXMAP_1XID
#define NO__1gdk_x11_atom_to_xatom
#define NO__1gdk_1x11_1atom_1to_1xatom

Back to the top