diff options
author | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-16 10:46:31 +0300 |
---|---|---|
committer | Alexander Kurtakov <akurtako@redhat.com> | 2012-10-16 10:46:31 +0300 |
commit | 801ec1483559446c0d86f80fed29f2453a706def (patch) | |
tree | c3dec3f3e692925364a1d3b43ad0df35765d4922 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java | |
parent | a3e032800e98721779dad6898ea6e135501045b9 (diff) | |
download | eclipse.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.java | 1 |
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; |