diff options
author | Alexandr Miloslavskiy | 2019-03-21 08:18:00 +0000 |
---|---|---|
committer | Eric Williams | 2019-03-21 12:59:46 +0000 |
commit | 43c60f652164bba42eb9b4682e31b60325021606 (patch) | |
tree | 22e99aa3f8210a5b57797c824bffa8a9fff16263 | |
parent | c8bdcaea824cc6e3a7a2018377f783ad1cef9f8a (diff) | |
download | eclipse.platform.swt-43c60f652164bba42eb9b4682e31b60325021606.tar.gz eclipse.platform.swt-43c60f652164bba42eb9b4682e31b60325021606.tar.xz eclipse.platform.swt-43c60f652164bba42eb9b4682e31b60325021606.zip |
Bug 545610 - [GTK] Syntax error causing problems in JNIGenerator
Change-Id: I3347a2ff20ce13aa9d098abcea4ff48efe85996f
Signed-off-by: Alexandr Miloslavskiy <alexandr.miloslavskiy@syntevo.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 2 | ||||
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java | 2 |
2 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 ceb0ce4825..da4b0a2dc1 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 @@ -4477,7 +4477,7 @@ JNIEXPORT void JNICALL GTK_NATIVE(_1gtk_1color_1chooser_1add_1palette) (JNIEnv *env, jclass that, jintLong arg0, jint arg1, jint arg2, jint arg3, jintLong arg4) { GTK_NATIVE_ENTER(env, that, _1gtk_1color_1chooser_1add_1palette_FUNC); - gtk_color_chooser_add_palette((GtkColorChooser *)arg0, (GtkOrientation)arg1, (gint)arg2, arg3, (GdkRGBA *)arg4); + gtk_color_chooser_add_palette((GtkColorChooser *)arg0, (GtkOrientation)arg1, (gint)arg2, (gint)arg3, (GdkRGBA *)arg4); GTK_NATIVE_EXIT(env, that, _1gtk_1color_1chooser_1add_1palette_FUNC); } #endif diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java index e05b306307..a6339aacba 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/GTK.java @@ -1307,7 +1307,7 @@ public class GTK extends OS { * @param chooser cast=(GtkColorChooser *) * @param orientation cast=(GtkOrientation) * @param colors_per_line cast=(gint) - * @param n_colors cast(gint) + * @param n_colors cast=(gint) * @param colors cast=(GdkRGBA *) */ public static final native void _gtk_color_chooser_add_palette(long /*int*/ chooser, int orientation, int colors_per_line, int n_colors, long /*int*/ colors); |