diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-03-16 11:55:05 +0200 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-03-19 11:25:52 -0400 |
commit | 6e1594dad53830d9eab9df02ca1e83163cb61f69 (patch) | |
tree | e802e6d0f873b1d168353985f7662de22c944e79 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | |
parent | 053b81f18025ae09c1c43eee59b532cffb7238db (diff) | |
download | eclipse.platform.swt-6e1594dad53830d9eab9df02ca1e83163cb61f69.tar.gz eclipse.platform.swt-6e1594dad53830d9eab9df02ca1e83163cb61f69.tar.xz eclipse.platform.swt-6e1594dad53830d9eab9df02ca1e83163cb61f69.zip |
Make gdk_gc_set_tile dynamic.
All usages are covered by alternative cairo implementation.
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 35fe8b8ece..3c7c5fc327 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 @@ -5900,7 +5900,15 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1set_1tile) (JNIEnv *env, jclass that, jintLong arg0, jintLong arg1) { OS_NATIVE_ENTER(env, that, _1gdk_1gc_1set_1tile_FUNC); - gdk_gc_set_tile((GdkGC *)arg0, (GdkPixmap *)arg1); +/* + gdk_gc_set_tile(arg0, arg1); +*/ + { + OS_LOAD_FUNCTION(fp, gdk_gc_set_tile) + if (fp) { + ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1); + } + } OS_NATIVE_EXIT(env, that, _1gdk_1gc_1set_1tile_FUNC); } #endif |