diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-04 21:59:40 +0300 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-04 21:59:40 +0300 |
commit | 9004816c0eded49a87ffaf370b4fefa4dbb6d38b (patch) | |
tree | 3a9e0c62c62ecf909790e4abe428170ba9bb7149 /bundles/org.eclipse.swt/Eclipse SWT Theme | |
parent | ed18df252bb05902f6e134f9ab9e155c5cd00356 (diff) | |
download | eclipse.platform.swt-9004816c0eded49a87ffaf370b4fefa4dbb6d38b.tar.gz eclipse.platform.swt-9004816c0eded49a87ffaf370b4fefa4dbb6d38b.tar.xz eclipse.platform.swt-9004816c0eded49a87ffaf370b4fefa4dbb6d38b.zip |
Fix indentation of switch.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Theme')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/ProgressBarDrawData.java | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/ProgressBarDrawData.java b/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/ProgressBarDrawData.java index 1590302173..8103b29919 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/ProgressBarDrawData.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Theme/gtk/org/eclipse/swt/internal/theme/ProgressBarDrawData.java @@ -61,14 +61,14 @@ int hit(Theme theme, Point position, Rectangle bounds) { void gtk_orientable_set_orientation (long /*int*/ pbar, int orientation) { if (OS.GTK_VERSION >= OS.VERSION(3, 0, 0)) { switch (orientation) { - case OS.GTK_PROGRESS_BOTTOM_TO_TOP: - OS.gtk_orientable_set_orientation(pbar, OS.GTK_ORIENTATION_VERTICAL); - OS.gtk_progress_bar_set_inverted(pbar, true); - break; - case OS.GTK_PROGRESS_LEFT_TO_RIGHT: - OS.gtk_orientable_set_orientation(pbar, OS.GTK_ORIENTATION_HORIZONTAL); - OS.gtk_progress_bar_set_inverted(pbar, false); - break; + case OS.GTK_PROGRESS_BOTTOM_TO_TOP: + OS.gtk_orientable_set_orientation(pbar, OS.GTK_ORIENTATION_VERTICAL); + OS.gtk_progress_bar_set_inverted(pbar, true); + break; + case OS.GTK_PROGRESS_LEFT_TO_RIGHT: + OS.gtk_orientable_set_orientation(pbar, OS.GTK_ORIENTATION_HORIZONTAL); + OS.gtk_progress_bar_set_inverted(pbar, false); + break; } } else { OS.gtk_progress_bar_set_orientation(pbar, orientation); |