summaryrefslogtreecommitdiffstats
path: root/bundles
diff options
context:
space:
mode:
authorBogdan Gheorghe <gheorghe@ca.ibm.com>2012-04-26 17:07:19 -0400
committerBogdan Gheorghe <gheorghe@ca.ibm.com>2012-04-26 17:07:19 -0400
commit0672573c2e157b4a51a0e77d83a4d8caa4147501 (patch)
tree08c4bcfc2fdc6f7b10723dfda2a15d7c49f7db6f /bundles
parentf32a2ed157ab860b62d8954a5c2aaea08e445661 (diff)
downloadeclipse.platform.swt-0672573c2e157b4a51a0e77d83a4d8caa4147501.tar.gz
eclipse.platform.swt-0672573c2e157b4a51a0e77d83a4d8caa4147501.tar.xz
eclipse.platform.swt-0672573c2e157b4a51a0e77d83a4d8caa4147501.zip
Fix param name in OS
Diffstat (limited to 'bundles')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/library/os.c2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java2
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) {