Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSilenio Quarti2012-10-24 19:22:23 +0000
committerSilenio Quarti2012-10-24 19:22:23 +0000
commit3f20eb141985695c94bfef8a385bd084ad49d97d (patch)
treec54b151c9b86e7402ccc116555c81e4545cba730 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
parent74f31e3b8b1161eeb163092b2eda8be8a469aa58 (diff)
downloadeclipse.platform.swt-3f20eb141985695c94bfef8a385bd084ad49d97d.tar.gz
eclipse.platform.swt-3f20eb141985695c94bfef8a385bd084ad49d97d.tar.xz
eclipse.platform.swt-3f20eb141985695c94bfef8a385bd084ad49d97d.zip
remove gdk_gc_set_subwindow from GTK3
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.c10
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 d4a8c05186..f585d0e827 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
@@ -5853,7 +5853,15 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1gc_1set_1subwindow)
(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1)
{
OS_NATIVE_ENTER(env, that, _1gdk_1gc_1set_1subwindow_FUNC);
- gdk_gc_set_subwindow((GdkGC *)arg0, (GdkSubwindowMode)arg1);
+/*
+ gdk_gc_set_subwindow(arg0, arg1);
+*/
+ {
+ OS_LOAD_FUNCTION(fp, gdk_gc_set_subwindow)
+ if (fp) {
+ ((void (CALLING_CONVENTION*)(jintLong, jintLong))fp)(arg0, arg1);
+ }
+ }
OS_NATIVE_EXIT(env, that, _1gdk_1gc_1set_1subwindow_FUNC);
}
#endif

Back to the top