diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2013-07-17 15:06:57 -0400 |
---|---|---|
committer | Arun Thondapu <arunkumar.thondapu@in.ibm.com> | 2013-07-18 15:16:45 +0530 |
commit | f44fbcfe05943df863742d52c93eee02ea76cf56 (patch) | |
tree | f423a9c8f0a40831db90824affed90a2841aea97 /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse | |
parent | 89226ef66766ab960eecbb9ea502805403181edb (diff) | |
download | eclipse.platform.swt-f44fbcfe05943df863742d52c93eee02ea76cf56.tar.gz eclipse.platform.swt-f44fbcfe05943df863742d52c93eee02ea76cf56.tar.xz eclipse.platform.swt-f44fbcfe05943df863742d52c93eee02ea76cf56.zip |
Bug 413195 - Remove unused version guard from Label widget
Signed-off-by: Anatoly Spektor <aspektor@redhat.com>
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java index b0a7433106..0b2eb3b15b 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java @@ -233,9 +233,7 @@ void createHandle (int index) { if ((style & SWT.SEPARATOR) != 0) return; if ((style & SWT.WRAP) != 0) { OS.gtk_label_set_line_wrap (labelHandle, true); - if (OS.GTK_VERSION >= OS.VERSION (2, 10, 0)) { - OS.gtk_label_set_line_wrap_mode (labelHandle, OS.PANGO_WRAP_WORD_CHAR); - } + OS.gtk_label_set_line_wrap_mode (labelHandle, OS.PANGO_WRAP_WORD_CHAR); } setAlignment (); } |