aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2013-02-14 17:02:41 (EST)
committerLakshmi Shanmugam2013-02-28 03:26:05 (EST)
commit815ac699dc4e25cdd3e2f1a87ad1d12867bd7048 (patch)
treed6259a8e6c067ed7a976f484808d2f5e3044018e
parent7b18c093026f8cc47d7b021dd94f51e97802aea5 (diff)
downloadeclipse.platform.swt-815ac699dc4e25cdd3e2f1a87ad1d12867bd7048.zip
eclipse.platform.swt-815ac699dc4e25cdd3e2f1a87ad1d12867bd7048.tar.gz
eclipse.platform.swt-815ac699dc4e25cdd3e2f1a87ad1d12867bd7048.tar.bz2
Bug 400576 - N20130211-2000 coredumps on startup
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c16
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java4
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 de01c3e..09b3e70 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 135d5fe..0705313 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();