diff options
4 files changed, 2 insertions, 25 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 155872e3dd..92bf0f570d 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 @@ -1683,18 +1683,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1GTK_1WIDGET_1SET_1FLAGS) } #endif -#ifndef NO__1GTK_1WIDGET_1STATE -JNIEXPORT jint JNICALL OS_NATIVE(_1GTK_1WIDGET_1STATE) - (JNIEnv *env, jclass that, jintLong arg0) -{ - jint rc = 0; - OS_NATIVE_ENTER(env, that, _1GTK_1WIDGET_1STATE_FUNC); - rc = (jint)GTK_WIDGET_STATE(arg0); - OS_NATIVE_EXIT(env, that, _1GTK_1WIDGET_1STATE_FUNC); - return rc; -} -#endif - #ifndef NO__1GTK_1WIDGET_1UNSET_1FLAGS JNIEXPORT void JNICALL OS_NATIVE(_1GTK_1WIDGET_1UNSET_1FLAGS) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) 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 b8074eb1de..c1b8dee9e9 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 @@ -18,8 +18,8 @@ #ifdef NATIVE_STATS -int OS_nativeFunctionCount = 1315; -int OS_nativeFunctionCallCount[1315]; +int OS_nativeFunctionCount = 1314; +int OS_nativeFunctionCallCount[1314]; char * OS_nativeFunctionNames[] = { #ifndef JNI64 "Call__IIII", @@ -167,7 +167,6 @@ char * OS_nativeFunctionNames[] = { "_1GTK_1WIDGET_1MAPPED", "_1GTK_1WIDGET_1SENSITIVE", "_1GTK_1WIDGET_1SET_1FLAGS", - "_1GTK_1WIDGET_1STATE", "_1GTK_1WIDGET_1UNSET_1FLAGS", "_1GTK_1WIDGET_1VISIBLE", "_1G_1OBJECT_1CLASS", 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 75194be58b..88d895c7c2 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 @@ -175,7 +175,6 @@ typedef enum { _1GTK_1WIDGET_1MAPPED_FUNC, _1GTK_1WIDGET_1SENSITIVE_FUNC, _1GTK_1WIDGET_1SET_1FLAGS_FUNC, - _1GTK_1WIDGET_1STATE_FUNC, _1GTK_1WIDGET_1UNSET_1FLAGS_FUNC, _1GTK_1WIDGET_1VISIBLE_FUNC, _1G_1OBJECT_1CLASS_FUNC, diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index 0a5969cade..c77a1c0b07 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -1635,15 +1635,6 @@ public static final int GTK_WIDGET_FLAGS(int /*long*/ wid) { lock.unlock(); } } -public static final native int _GTK_WIDGET_STATE(int /*long*/ wid); -public static final int GTK_WIDGET_STATE(int /*long*/ wid) { - lock.lock(); - try { - return _GTK_WIDGET_STATE(wid); - } finally { - lock.unlock(); - } -} public static final native boolean _GTK_WIDGET_HAS_DEFAULT(int /*long*/ wid); public static final boolean GTK_WIDGET_HAS_DEFAULT(int /*long*/ wid) { lock.lock(); |