From 0672573c2e157b4a51a0e77d83a4d8caa4147501 Mon Sep 17 00:00:00 2001 From: Bogdan Gheorghe Date: Thu, 26 Apr 2012 17:07:19 -0400 Subject: Fix param name in OS --- bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c | 2 +- .../Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.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 8767d6e3cf..108e4a7500 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 @@ -14637,7 +14637,7 @@ JNIEXPORT void JNICALL OS_NATIVE(_1gtk_1toolbar_1set_1style) (JNIEnv *env, jclass that, jintLong arg0, jint arg1) { OS_NATIVE_ENTER(env, that, _1gtk_1toolbar_1set_1style_FUNC); - gtk_toolbar_set_style((GtkToolbar *)arg0, arg1); + gtk_toolbar_set_style((GtkToolbar *)arg0, (GtkToolbarStyle)arg1); OS_NATIVE_EXIT(env, that, _1gtk_1toolbar_1set_1style_FUNC); } #endif diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java index 63ff9284f7..62bc7a8b47 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java @@ -11367,7 +11367,7 @@ public static final void gtk_toolbar_set_show_arrow(int /*long*/ toolbar, boolea } } /** @param toolbar cast=(GtkToolbar *) - * @param type cast=(GtkToolbarStyle) + * @param style cast=(GtkToolbarStyle) */ public static final native void _gtk_toolbar_set_style(int /*long*/ toolbar, int style); public static final void gtk_toolbar_set_style(int /*long*/ toolbar, int style) { -- cgit