Bug 570885 - [GTK] Fixed spelling error in checkAndUnrabFocus
Change-Id: Ia9f99e484db0407023b4c3bd7ba298870e4f89a4
Signed-off-by: Paul D'Pong <sdamrong@redhat.com>
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
index 5dc3c02..7650a37 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
@@ -2996,7 +2996,7 @@
}
} else {
fixActiveShell ();
- checkAndUnrabFocus();
+ checkAndUngrabFocus();
GTK.gtk_widget_hide (shellHandle);
sendEvent (SWT.Hide);
}
@@ -3268,7 +3268,7 @@
* SWT.ON_TOP shells on Wayland requires gdk_seat_grab to grab keyboard/input focus,
* the grabbed focus need to be removed when Shell is disposed/hidden.
*/
-void checkAndUnrabFocus () {
+void checkAndUngrabFocus () {
/*
* Bug 515773, 542104: Wayland POPUP window limitations
* In bringToTop(), we grabbed keyboard/pointer focus to popup shell, which needs to
@@ -3310,7 +3310,7 @@
*/
if (isDisposed()) return;
fixActiveShell ();
- checkAndUnrabFocus();
+ checkAndUngrabFocus();
/*
* Bug 540166: Dispose the popup child if any when the parent is disposed so that
* it does not remain open forever.