keyboard: Drop dead code
This getGroups() method was not called anywhere for a long time, the last user was dropped at commit 8fdf47ea5b ("keyboard: Do not create widgetry for all keyboard groups at once"). Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>
This commit is contained in:
parent
c6d2f7d6c4
commit
834be93666
@ -2110,18 +2110,6 @@ class KeyboardController extends Signals.EventEmitter {
|
||||
this.emit('purpose-changed', purpose);
|
||||
}
|
||||
|
||||
getGroups() {
|
||||
let inputSources = this._inputSourceManager.inputSources;
|
||||
let groups = [];
|
||||
|
||||
for (let i in inputSources) {
|
||||
let is = inputSources[i];
|
||||
groups[is.index] = is.xkbId;
|
||||
}
|
||||
|
||||
return groups;
|
||||
}
|
||||
|
||||
getCurrentGroup() {
|
||||
// Special case for Korean, if Hangul mode is disabled, use the 'us' keymap
|
||||
if (this._currentSource.id === 'hangul') {
|
||||
|
Loading…
x
Reference in New Issue
Block a user