Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Williams2016-11-13 23:07:43 +0000
committerEric Williams2016-11-13 23:09:40 +0000
commit2272236da6f5c16ff57909b794ad9b0765d07ea0 (patch)
tree453f2ce0b86690698574cd7612107901ca6f99f7
parent7ea5e46d1331c14b784dd3615ff916d0a2ea7e0a (diff)
downloadeclipse.platform.swt-2272236da6f5c16ff57909b794ad9b0765d07ea0.tar.gz
eclipse.platform.swt-2272236da6f5c16ff57909b794ad9b0765d07ea0.tar.xz
eclipse.platform.swt-2272236da6f5c16ff57909b794ad9b0765d07ea0.zip
Bug 497444 - [GTK3] Progress indicator not updating in the splash screen
of Eclipse Backport of cleanup fix. Change-Id: I09a3f03d57bc002b260df0cc54f5e4634186581a Signed-off-by: Eric Williams <ericwill@redhat.com>
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c10
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os_stats.c1
-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.java10
4 files changed, 0 insertions, 22 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 1f3be9f0a1..fb6e308430 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
@@ -12870,16 +12870,6 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1main_1do_1event)
}
#endif
-#ifndef NO__1gtk_1main_1iteration_1do
-JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1main_1iteration_1do)
- (JNIEnv *env, jclass that, jboolean arg0)
-{
- OS_NATIVE_ENTER(env, that, _1gtk_1main_1iteration_1do_FUNC);
- gtk_main_iteration_do((gboolean)arg0);
- OS_NATIVE_EXIT(env, that, _1gtk_1main_1iteration_1do_FUNC);
-}
-#endif
-
#ifndef NO__1gtk_1major_1version
JNIEXPORT jint JNICALL OS_NATIVE(_1gtk_1major_1version)
(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 ca2a252e16..b7eb2fcb31 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
@@ -938,7 +938,6 @@ char * OS_nativeFunctionNames[] = {
#endif
"_1gtk_1main",
"_1gtk_1main_1do_1event",
- "_1gtk_1main_1iteration_1do",
"_1gtk_1major_1version",
"_1gtk_1menu_1bar_1new",
"_1gtk_1menu_1item_1get_1submenu",
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 c549ca9557..f36ea694cf 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
@@ -948,7 +948,6 @@ typedef enum {
#endif
_1gtk_1main_FUNC,
_1gtk_1main_1do_1event_FUNC,
- _1gtk_1main_1iteration_1do_FUNC,
_1gtk_1major_1version_FUNC,
_1gtk_1menu_1bar_1new_FUNC,
_1gtk_1menu_1item_1get_1submenu_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 af49673a0b..34090a99b8 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
@@ -9537,16 +9537,6 @@ public static final void gtk_main() {
lock.unlock();
}
}
-/** @param blocking cast=(gboolean) */
-public static final native void _gtk_main_iteration_do(boolean blocking);
-public static final void gtk_main_iteration_do(boolean blocking) {
- lock.lock();
- try {
- _gtk_main_iteration_do(blocking);
- } finally {
- lock.unlock();
- }
-}
/** @param event cast=(GdkEvent *) */
public static final native void _gtk_main_do_event(long /*int*/ event);
public static final void gtk_main_do_event(long /*int*/ event) {

Back to the top