diff options
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java index f307ec885a..ab74e30c8e 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java @@ -1110,7 +1110,7 @@ void createDisplay (DeviceData data) { * * @return the most Latin keyboard layout group */ -protected int findLatinKeyGroup () { +private int findLatinKeyGroup () { int result = 0; Map<Integer, Integer> groupKeysCount = new HashMap<> (); long /*int*/ keymap = OS.gdk_keymap_get_default (); @@ -1154,10 +1154,8 @@ protected int findLatinKeyGroup () { /** * Return the most Latin keyboard layout group. - * - * @noreference This method is not intended to be referenced by clients. */ -public int getLatinKeyGroup () { +int getLatinKeyGroup () { return latinKeyGroup; } |