From a754695634bbf4177c903eb76191590677bc9067 Mon Sep 17 00:00:00 2001 From: Silenio Quarti Date: Wed, 19 Sep 2012 10:14:12 -0400 Subject: Bug 388419 - Loss of focus during typing --- .../org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- cgit