summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
diff options
context:
space:
mode:
authorAlexander Kurtakov <akurtako@redhat.com>2013-07-10 16:17:03 +0300
committerAlexander Kurtakov <akurtako@redhat.com>2013-07-10 16:17:03 +0300
commitca5e588017b8795b03417457562b8f46567bc04f (patch)
treee54d5d638d93efcd78aa5b50de728415976b5248 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
parent95087f70461c9fdee64c3c9d1fda2ec4d269324c (diff)
downloadeclipse.platform.swt-ca5e588017b8795b03417457562b8f46567bc04f.tar.gz
eclipse.platform.swt-ca5e588017b8795b03417457562b8f46567bc04f.tar.xz
eclipse.platform.swt-ca5e588017b8795b03417457562b8f46567bc04f.zip
gtk_scrolled_window_add_with_viewport is deprecated in GTK 3.8.
Use gtk_container_add for GTK 3.8 or newer.
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.c8
1 files changed, 8 insertions, 0 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 9905801d97..d363181c0d 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
@@ -14369,7 +14369,15 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1scrolled_1window_1add_1with_1viewport)
(JNIEnv *env, jclass that, jintLong arg0, jintLong arg1)
{
OS_NATIVE_ENTER(env, that, _1gtk_1scrolled_1window_1add_1with_1viewport_FUNC);
+/*
gtk_scrolled_window_add_with_viewport((GtkScrolledWindow *)arg0, (GtkWidget *)arg1);
+*/
+ {
+ OS_LOAD_FUNCTION(fp, gtk_scrolled_window_add_with_viewport)
+ if (fp) {
+ ((void (CALLING_CONVENTION*)(GtkScrolledWindow *, GtkWidget *))fp)((GtkScrolledWindow *)arg0, (GtkWidget *)arg1);
+ }
+ }
OS_NATIVE_EXIT(env, that, _1gtk_1scrolled_1window_1add_1with_1viewport_FUNC);
}
#endif