aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor2013-07-19 10:28:11 (EDT)
committerArun Thondapu2013-07-22 03:45:49 (EDT)
commit471ee59e0c0de454255ffc7555f61aebec1e2033 (patch)
treeff4b468eb4c8967bd8bcce44dc51a58bd91dd999
parentb7e80235c7aba87bf303961731c884eb6cbe0795 (diff)
downloadeclipse.platform.swt-471ee59e0c0de454255ffc7555f61aebec1e2033.zip
eclipse.platform.swt-471ee59e0c0de454255ffc7555f61aebec1e2033.tar.gz
eclipse.platform.swt-471ee59e0c0de454255ffc7555f61aebec1e2033.tar.bz2
Bug 413333 - Remove unused version guard 2.10 from Slider widget
Signed-off-by: Anatoly Spektor <aspektor@redhat.com>
-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 4245de9..d98600e 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);