summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java
diff options
context:
space:
mode:
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java
index e5072197b1..61a3f21d5e 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java
@@ -620,7 +620,7 @@ int /*long*/ gtk_scrollbar_new (int orientation, int /*long*/ adjustment) {
} else {
if (orientation == OS.GTK_ORIENTATION_HORIZONTAL) {
scrollbar = OS.gtk_hscrollbar_new (adjustment);
- } else if (orientation == OS.GTK_ORIENTATION_VERTICAL) {
+ } else {
scrollbar = OS.gtk_vscrollbar_new (adjustment);
}
}