diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2013-07-19 10:01:39 -0400 |
---|---|---|
committer | Anatoly Spektor <aspektor@redhat.com> | 2013-07-19 10:01:39 -0400 |
commit | 33ef4ad27df802dad67483b4c0ae8d7c4938d62a (patch) | |
tree | 4f45f43b4ddeff15b7c62e2de53cb584602d521f | |
parent | 3badf881a37b9808e3b829dac9255767efd7162c (diff) | |
download | eclipse.platform.swt-cleanup_FrontDialog_210.tar.gz eclipse.platform.swt-cleanup_FrontDialog_210.tar.xz eclipse.platform.swt-cleanup_FrontDialog_210.zip |
Bug 413325 - Remove unused version guard 2.10 from FontDialog widgetcleanup_FrontDialog_210
Signed-off-by: Anatoly Spektor <aspektor@redhat.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FontDialog.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FontDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FontDialog.java index a98c2afe1f..2d26f519b2 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FontDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FontDialog.java @@ -165,10 +165,8 @@ public FontData open () { OS.g_list_free (pixbufs); } } - if (OS.GTK_VERSION >= OS.VERSION (2, 10, 0)) { - long /*int*/ group = OS.gtk_window_get_group(0); - OS.gtk_window_group_add_window (group, handle); - } + long /*int*/ group = OS.gtk_window_get_group(0); + OS.gtk_window_group_add_window (group, handle); OS.gtk_window_set_modal (handle, true); if (fontData != null) { Font font = new Font (display, fontData); |