summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
diff options
context:
space:
mode:
authorAlexander Kurtakov <akurtako@redhat.com>2012-10-16 10:46:31 +0300
committerAlexander Kurtakov <akurtako@redhat.com>2012-10-16 10:46:31 +0300
commit801ec1483559446c0d86f80fed29f2453a706def (patch)
treec3dec3f3e692925364a1d3b43ad0df35765d4922 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
parenta3e032800e98721779dad6898ea6e135501045b9 (diff)
downloadeclipse.platform.swt-801ec1483559446c0d86f80fed29f2453a706def.tar.gz
eclipse.platform.swt-801ec1483559446c0d86f80fed29f2453a706def.tar.xz
eclipse.platform.swt-801ec1483559446c0d86f80fed29f2453a706def.zip
Remove Gtk 2.2-2.4 checks.
Now that we require 2.6.0+ it makes no sense to clutter the code with useless checks.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java1
1 files changed, 0 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
index 5202b30295..7a8aa4392f 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
@@ -4207,7 +4207,6 @@ void setOrientation (boolean create) {
*/
public void setOrientation (int orientation) {
checkWidget ();
- if (OS.GTK_VERSION < OS.VERSION (2, 4, 0)) return;
int flags = SWT.RIGHT_TO_LEFT | SWT.LEFT_TO_RIGHT;
if ((orientation & flags) == 0 || (orientation & flags) == flags) return;
style &= ~flags;