diff options
author | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-09-19 10:14:12 -0400 |
---|---|---|
committer | Silenio Quarti <silenio_quarti@ca.ibm.com> | 2012-09-19 10:14:12 -0400 |
commit | a754695634bbf4177c903eb76191590677bc9067 (patch) | |
tree | 0171509ca8c2b0b1be0789c6c69d3cc8ae05371f | |
parent | 9983a32e639f3f4c8a03b4db9ad61b47fbaa6d56 (diff) | |
download | eclipse.platform.swt-a754695634bbf4177c903eb76191590677bc9067.tar.gz eclipse.platform.swt-a754695634bbf4177c903eb76191590677bc9067.tar.xz eclipse.platform.swt-a754695634bbf4177c903eb76191590677bc9067.zip |
Bug 388419 - Loss of focus during typing
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java index 89ae3596b4..afe1444725 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java @@ -1794,7 +1794,7 @@ void gtk_widget_set_mapped (int /*long*/ widget, boolean mapped) { } void gtk_widget_set_visible (int /*long*/ widget, boolean visible) { - if (OS.GTK_VERSION >= OS.VERSION (2, 18, 0)) { + if (OS.GTK_VERSION >= OS.VERSION (3, 0, 0)) { OS.gtk_widget_set_visible (widget,visible); } else { if (visible) { |