Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatoly Spektor2013-07-19 14:28:11 +0000
committerArun Thondapu2013-07-22 07:45:49 +0000
commit471ee59e0c0de454255ffc7555f61aebec1e2033 (patch)
treeff4b468eb4c8967bd8bcce44dc51a58bd91dd999
parentb7e80235c7aba87bf303961731c884eb6cbe0795 (diff)
downloadeclipse.platform.swt-471ee59e0c0de454255ffc7555f61aebec1e2033.tar.gz
eclipse.platform.swt-471ee59e0c0de454255ffc7555f61aebec1e2033.tar.xz
eclipse.platform.swt-471ee59e0c0de454255ffc7555f61aebec1e2033.zip
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 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);

Back to the top