Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Kurtakov2012-10-23 21:14:48 +0000
committerAlexander Kurtakov2012-10-23 21:14:48 +0000
commit7850ac994d4ed45b1498711e60e3213e4115df40 (patch)
treeeac20a40e0913dcd3352ee78ea2a30530c0544e6 /bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c
parent0ad2454d725f5e3608f07cf1f391c8cfe6cf50cd (diff)
downloadeclipse.platform.swt-7850ac994d4ed45b1498711e60e3213e4115df40.tar.gz
eclipse.platform.swt-7850ac994d4ed45b1498711e60e3213e4115df40.tar.xz
eclipse.platform.swt-7850ac994d4ed45b1498711e60e3213e4115df40.zip
Remove GdkDrawPixbuf casts.
It's already dynamic so casts don't buy us anything.
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.c4
1 files changed, 2 insertions, 2 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 5b4c294190..814c2211e8 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
@@ -5250,12 +5250,12 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gdk_1draw_1pixbuf)
{
OS_NATIVE_ENTER(env, that, _1gdk_1draw_1pixbuf_FUNC);
/*
- gdk_draw_pixbuf((GdkDrawable *)arg0, (GdkGC *)arg1, (GdkPixbuf *)arg2, (gint)arg3, (gint)arg4, (gint)arg5, (gint)arg6, (gint)arg7, (gint)arg8, (GdkRgbDither)arg9, (gint)arg10, (gint)arg11);
+ gdk_draw_pixbuf(arg0, arg1, arg2, (gint)arg3, (gint)arg4, (gint)arg5, (gint)arg6, (gint)arg7, (gint)arg8, arg9, (gint)arg10, (gint)arg11);
*/
{
OS_LOAD_FUNCTION(fp, gdk_draw_pixbuf)
if (fp) {
- ((void (CALLING_CONVENTION*)(GdkDrawable *, GdkGC *, GdkPixbuf *, gint, gint, gint, gint, gint, gint, GdkRgbDither, gint, gint))fp)((GdkDrawable *)arg0, (GdkGC *)arg1, (GdkPixbuf *)arg2, (gint)arg3, (gint)arg4, (gint)arg5, (gint)arg6, (gint)arg7, (gint)arg8, (GdkRgbDither)arg9, (gint)arg10, (gint)arg11);
+ ((void (CALLING_CONVENTION*)(jintLong, jintLong, jintLong, gint, gint, gint, gint, gint, gint, jint, gint, gint))fp)(arg0, arg1, arg2, (gint)arg3, (gint)arg4, (gint)arg5, (gint)arg6, (gint)arg7, (gint)arg8, arg9, (gint)arg10, (gint)arg11);
}
}
OS_NATIVE_EXIT(env, that, _1gdk_1draw_1pixbuf_FUNC);

Back to the top