diff options
author | Anatoly Spektor <aspektor@redhat.com> | 2013-07-19 10:51:30 -0400 |
---|---|---|
committer | Anatoly Spektor <aspektor@redhat.com> | 2013-07-19 10:51:30 -0400 |
commit | 87e59c313269976184971e6204c768f732867c18 (patch) | |
tree | b7fc19752e695afcc9c94d045106c89d855f23b2 | |
parent | 3badf881a37b9808e3b829dac9255767efd7162c (diff) | |
download | eclipse.platform.swt-cleanup_colordialog_210.tar.gz eclipse.platform.swt-cleanup_colordialog_210.tar.xz eclipse.platform.swt-cleanup_colordialog_210.zip |
Bug 413337 - Remove unused version guard 2.10 from ColorDialog widgetcleanup_colordialog_210
Signed-off-by: Anatoly Spektor <aspektor@redhat.com>
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java index ea209fb67f..c38d7a2bcb 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java @@ -146,10 +146,8 @@ public RGB 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 (OS.GTK_VERSION >= OS.VERSION (2, 14, 0)) { |