diff options
author | Anatoly Spektor | 2012-10-16 15:28:51 +0000 |
---|---|---|
committer | Alexander Kurtakov | 2012-10-16 22:29:33 +0000 |
commit | df55805e4a74ab0fc8f545a1792d755c95a4e419 (patch) | |
tree | fc33befb41894c3cb2cadeb9d29d49a63a4a85b8 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | |
parent | abdaf1530d41faa588e7d35f314248f593b64f7b (diff) | |
download | eclipse.platform.swt-df55805e4a74ab0fc8f545a1792d755c95a4e419.tar.gz eclipse.platform.swt-df55805e4a74ab0fc8f545a1792d755c95a4e419.tar.xz eclipse.platform.swt-df55805e4a74ab0fc8f545a1792d755c95a4e419.zip |
Make gdk_pixbuf_render_pixmap_and_mask dynamic
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 10 |
1 files changed, 9 insertions, 1 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 0cfbb1cbb1..f052157f3c 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 @@ -6162,7 +6162,15 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1pixbuf_1render_1pixmap_1and_1mask) OS_NATIVE_ENTER(env, that, _1gdk_1pixbuf_1render_1pixmap_1and_1mask_FUNC); if (arg1) if ((lparg1 = (*env)->GetIntLongArrayElements(env, arg1, NULL)) == NULL) goto fail; if (arg2) if ((lparg2 = (*env)->GetIntLongArrayElements(env, arg2, NULL)) == NULL) goto fail; - gdk_pixbuf_render_pixmap_and_mask((GdkPixbuf *)arg0, (GdkDrawable **)lparg1, (GdkBitmap **)lparg2, arg3); +/* + gdk_pixbuf_render_pixmap_and_mask(arg0, lparg1, lparg2, arg3); +*/ + { + OS_LOAD_FUNCTION(fp, gdk_pixbuf_render_pixmap_and_mask) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jintLong *, jintLong *, jint))fp)(arg0, lparg1, lparg2, arg3); + } + } fail: if (arg2 && lparg2) (*env)->ReleaseIntLongArrayElements(env, arg2, lparg2, 0); if (arg1 && lparg1) (*env)->ReleaseIntLongArrayElements(env, arg1, lparg1, 0); |