diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c index 42ead53dd5..789a04a89a 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c +++ b/bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/library/swt_awt.c @@ -84,8 +84,8 @@ JNIEXPORT jobject JNICALL Java_org_eclipse_swt_awt_SWT_1AWT_initFrame jclass cls = (*env)->FindClass(env, "sun/awt/X11/XEmbeddedFrame"); if (NULL == cls) return NULL; - constructor = (*env)->GetMethodID(env, cls, "<init>", "(J)V"); - object = (*env)->NewObject(env, cls, constructor, handle); + constructor = (*env)->GetMethodID(env, cls, "<init>", "(JZ)V"); + object = (*env)->NewObject(env, cls, constructor, handle, JNI_TRUE); return object; } #endif |