diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2013-07-19 10:28:11 -0400 |
---|---|---|
committer | Anatoly Spektor <aspektor@redhat.com> | 2013-07-19 10:28:11 -0400 |
commit | f0c8c48c9acd2b74dac58555181256452e306a04 (patch) | |
tree | 4361f6f181cb281acfac73b10e4a09d531a31d36 | |
parent | 3badf881a37b9808e3b829dac9255767efd7162c (diff) | |
download | eclipse.platform.swt-cleanup_slider_210.tar.gz eclipse.platform.swt-cleanup_slider_210.tar.xz eclipse.platform.swt-cleanup_slider_210.zip |
Bug 413333 - Remove unused version guard 2.10 from Slider widgetcleanup_slider_210
Signed-off-by: Anatoly Spektor <aspektor@redhat.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java | 2 |
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 4245de9d9d..d98600e699 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 @@ -169,7 +169,7 @@ void createHandle (int index) { * that a bug has been logged with GTK about this issue. * (http://bugzilla.gnome.org/show_bug.cgi?id=475909) */ - if (OS.GTK_VERSION < OS.VERSION (2, 10, 0) || (style & SWT.VERTICAL) != 0) { + if ((style & SWT.VERTICAL) != 0) { gtk_widget_set_can_focus (handle, true); } OS.gtk_container_add (fixedHandle, handle); |