diff options
| author | Silenio Quarti | 2013-02-14 22:02:41 +0000 |
|---|---|---|
| committer | Lakshmi Shanmugam | 2013-02-28 08:26:05 +0000 |
| commit | 815ac699dc4e25cdd3e2f1a87ad1d12867bd7048 (patch) | |
| tree | d6259a8e6c067ed7a976f484808d2f5e3044018e | |
| parent | 7b18c093026f8cc47d7b021dd94f51e97802aea5 (diff) | |
| download | eclipse.platform.swt-815ac699dc4e25cdd3e2f1a87ad1d12867bd7048.tar.gz eclipse.platform.swt-815ac699dc4e25cdd3e2f1a87ad1d12867bd7048.tar.xz eclipse.platform.swt-815ac699dc4e25cdd3e2f1a87ad1d12867bd7048.zip | |
Bug 400576 - N20130211-2000 coredumps on startup
| -rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 16 | ||||
| -rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java | 4 |
2 files changed, 0 insertions, 20 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 de01c3ec7c..09b3e700dc 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 @@ -4145,15 +4145,7 @@ JNIEXPORT void JNICALL OS_NATIVE(_1g_1thread_1init) (JNIEnv *env, jclass that, jintLong arg0) { OS_NATIVE_ENTER(env, that, _1g_1thread_1init_FUNC); -/* g_thread_init((GThreadFunctions *)arg0); -*/ - { - OS_LOAD_FUNCTION(fp, g_thread_init) - if (fp) { - ((void (CALLING_CONVENTION*)(GThreadFunctions *))fp)((GThreadFunctions *)arg0); - } - } OS_NATIVE_EXIT(env, that, _1g_1thread_1init_FUNC); } #endif @@ -4164,15 +4156,7 @@ JNIEXPORT jboolean JNICALL OS_NATIVE(_1g_1thread_1supported) { jboolean rc = 0; OS_NATIVE_ENTER(env, that, _1g_1thread_1supported_FUNC); -/* rc = (jboolean)g_thread_supported(); -*/ - { - OS_LOAD_FUNCTION(fp, g_thread_supported) - if (fp) { - rc = (jboolean)((jboolean (CALLING_CONVENTION*)())fp)(); - } - } OS_NATIVE_EXIT(env, that, _1g_1thread_1supported_FUNC); return rc; } 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 135d5fe2cd..07053131eb 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 @@ -3303,7 +3303,6 @@ public static final long /*int*/ g_type_register_static (long /*int*/ parent_typ } } /** - * @method flags=dynamic * @param vtable cast=(GThreadFunctions *) */ public static final native void _g_thread_init(long /*int*/ vtable); @@ -3315,9 +3314,6 @@ public static final void g_thread_init(long /*int*/ vtable) { lock.unlock(); } } -/** - * @method flags=dynamic - */ public static final native boolean _g_thread_supported(); public static final boolean g_thread_supported() { lock.lock(); |
