aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2011-10-18 16:45:47 (EDT)
committerSilenio Quarti2011-11-25 11:36:44 (EST)
commit6767b5d834c78d45adea165f4667056f76536c06 (patch)
tree23457331fd84d9cca4a2ed5c61959ed879d08617
parent49ddcc0adb99c65d3488fb29ff48ac09fabf497d (diff)
downloadeclipse.platform.swt-6767b5d834c78d45adea165f4667056f76536c06.zip
eclipse.platform.swt-6767b5d834c78d45adea165f4667056f76536c06.tar.gz
eclipse.platform.swt-6767b5d834c78d45adea165f4667056f76536c06.tar.bz2
Bug 364768 - Remove GTK_WIDGET_IS_SENSITIVE
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c12
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c5
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.h1
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java9
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 e1a979e..e6f1bc2 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
@@ -1671,18 +1671,6 @@ JNIEXPORT jboolean JNICALL OS_NATIVE(_1GTK_1WIDGET_1HAS_1FOCUS)
}
#endif
-#ifndef NO__1GTK_1WIDGET_1IS_1SENSITIVE
-JNIEXPORT jboolean JNICALL OS_NATIVE(_1GTK_1WIDGET_1IS_1SENSITIVE)
- (JNIEnv *env, jclass that, jintLong arg0)
-{
- jboolean rc = 0;
- OS_NATIVE_ENTER(env, that, _1GTK_1WIDGET_1IS_1SENSITIVE_FUNC);
- rc = (jboolean)GTK_WIDGET_IS_SENSITIVE(arg0);
- OS_NATIVE_EXIT(env, that, _1GTK_1WIDGET_1IS_1SENSITIVE_FUNC);
- return rc;
-}
-#endif
-
#ifndef NO__1GTK_1WIDGET_1MAPPED
JNIEXPORT jboolean JNICALL OS_NATIVE(_1GTK_1WIDGET_1MAPPED)
(JNIEnv *env, jclass that, jintLong arg0)
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 582ae6d..26bf214 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 = 1386;
-int OS_nativeFunctionCallCount[1386];
+int OS_nativeFunctionCount = 1385;
+int OS_nativeFunctionCallCount[1385];
char * OS_nativeFunctionNames[] = {
#ifndef JNI64
"Call__IIII",
@@ -166,7 +166,6 @@ char * OS_nativeFunctionNames[] = {
"_1GTK_1WIDGET_1FLAGS",
"_1GTK_1WIDGET_1HAS_1DEFAULT",
"_1GTK_1WIDGET_1HAS_1FOCUS",
- "_1GTK_1WIDGET_1IS_1SENSITIVE",
"_1GTK_1WIDGET_1MAPPED",
"_1GTK_1WIDGET_1SENSITIVE",
"_1GTK_1WIDGET_1SET_1FLAGS",
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 99f677c..dc7433b 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
@@ -174,7 +174,6 @@ typedef enum {
_1GTK_1WIDGET_1FLAGS_FUNC,
_1GTK_1WIDGET_1HAS_1DEFAULT_FUNC,
_1GTK_1WIDGET_1HAS_1FOCUS_FUNC,
- _1GTK_1WIDGET_1IS_1SENSITIVE_FUNC,
_1GTK_1WIDGET_1MAPPED_FUNC,
_1GTK_1WIDGET_1SENSITIVE_FUNC,
_1GTK_1WIDGET_1SET_1FLAGS_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 e92228f..6389f8f 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
@@ -1700,15 +1700,6 @@ public static final boolean GTK_WIDGET_HAS_FOCUS(int /*long*/ wid) {
lock.unlock();
}
}
-public static final native boolean _GTK_WIDGET_IS_SENSITIVE(int /*long*/ wid);
-public static final boolean GTK_WIDGET_IS_SENSITIVE(int /*long*/ wid) {
- lock.lock();
- try {
- return _GTK_WIDGET_IS_SENSITIVE(wid);
- } finally {
- lock.unlock();
- }
-}
public static final native boolean _GTK_WIDGET_MAPPED(int /*long*/ wid);
public static final boolean GTK_WIDGET_MAPPED(int /*long*/ wid) {
lock.lock();