diff options
author | Eric Williams | 2018-09-18 18:10:29 +0000 |
---|---|---|
committer | Eric Williams | 2018-09-18 18:12:43 +0000 |
commit | c3c1a5ccaca4e329bfa09fa661f52650370da9d3 (patch) | |
tree | 47a3231c0e7183fe36c50ab6a97b16c925fbb9a3 | |
parent | 4a4cd395ecbd35eab8d3e1ddd672e93cc06d673a (diff) | |
download | eclipse.platform.swt-c3c1a5ccaca4e329bfa09fa661f52650370da9d3.tar.gz eclipse.platform.swt-c3c1a5ccaca4e329bfa09fa661f52650370da9d3.tar.xz eclipse.platform.swt-c3c1a5ccaca4e329bfa09fa661f52650370da9d3.zip |
Bug 530841: [GTK2] Remove GTK 2.x support
Remove unused sizeOf() function for GdkDragContext.
Change-Id: I3c70e50fd3c6ce7229ad1c77e0997b1db4c46d41
Signed-off-by: Eric Williams <ericwill@redhat.com>
4 files changed, 0 insertions, 15 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c index 6d140009dc..3e3a5beb7f 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c @@ -60,18 +60,6 @@ JNIEXPORT jboolean JNICALL GDK_NATIVE(GDK_1IS_1X11_1DISPLAY) } #endif -#ifndef NO_GdkDragContext_1sizeof -JNIEXPORT jint JNICALL GDK_NATIVE(GdkDragContext_1sizeof) - (JNIEnv *env, jclass that) -{ - jint rc = 0; - GDK_NATIVE_ENTER(env, that, GdkDragContext_1sizeof_FUNC); - rc = (jint)GdkDragContext_sizeof(); - GDK_NATIVE_EXIT(env, that, GdkDragContext_1sizeof_FUNC); - return rc; -} -#endif - #ifndef NO_GdkEventAny_1sizeof JNIEXPORT jint JNICALL GDK_NATIVE(GdkEventAny_1sizeof) (JNIEnv *env, jclass that) diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c index 4d18f25c74..5ec1bf4cdb 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c @@ -25,7 +25,6 @@ char * GDK_nativeFunctionNames[] = { "GDK_1EVENT_1TYPE", "GDK_1EVENT_1WINDOW", "GDK_1IS_1X11_1DISPLAY", - "GdkDragContext_1sizeof", "GdkEventAny_1sizeof", "GdkEventButton_1sizeof", "GdkEventCrossing_1sizeof", diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h index 53e471515c..c4aebb0f73 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h @@ -35,7 +35,6 @@ typedef enum { GDK_1EVENT_1TYPE_FUNC, GDK_1EVENT_1WINDOW_FUNC, GDK_1IS_1X11_1DISPLAY_FUNC, - GdkDragContext_1sizeof_FUNC, GdkEventAny_1sizeof_FUNC, GdkEventButton_1sizeof_FUNC, GdkEventCrossing_1sizeof_FUNC, diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java index 6a1c463d8b..05acd992f6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GDK.java @@ -259,7 +259,6 @@ public class GDK extends OS { /** sizeof(TYPE) for 32/64 bit support */ public static final native int GdkKeymapKey_sizeof(); public static final native int GdkRGBA_sizeof(); - public static final native int GdkDragContext_sizeof(); public static final native int GdkEvent_sizeof(); public static final native int GdkEventAny_sizeof(); public static final native int GdkEventButton_sizeof(); |