From f0c8c48c9acd2b74dac58555181256452e306a04 Mon Sep 17 00:00:00 2001 From: Anatoly Spektor Date: Fri, 19 Jul 2013 10:28:11 -0400 Subject: Bug 413333 - Remove unused version guard 2.10 from Slider widget Signed-off-by: Anatoly Spektor --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- cgit