cleanup: Remove some unhelpful unused arguments

Those unused arguments aren't bugs - unbeknownst to eslint, they all
correspond to valid signal parameters - but they don't contribute
anything to clarity, so just remove them anyway.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
Florian Müllner
2019-02-04 12:30:53 +01:00
parent 0257de1b7e
commit 79cf3a6dd0
33 changed files with 70 additions and 70 deletions

View File

@ -100,7 +100,7 @@ class KeyContainer extends St.Widget {
this._rows = [];
}
appendRow(length) {
appendRow() {
this._currentRow++;
this._currentCol = 0;
@ -1171,7 +1171,7 @@ var Keyboard = class Keyboard {
this._emojiSelection = new EmojiSelection();
this._emojiSelection.connect('toggle', this._toggleEmoji.bind(this));
this._emojiSelection.connect('hide', (selection) => this.hide());
this._emojiSelection.connect('hide', () => this.hide());
this._emojiSelection.connect('emoji-selected', (selection, emoji) => {
this._keyboardController.commitString(emoji);
});
@ -1467,7 +1467,7 @@ var Keyboard = class Keyboard {
this._setActiveLayer(0);
}
_onKeyboardGroupsChanged(keyboard) {
_onKeyboardGroupsChanged() {
let nonGroupActors = [this._emojiSelection.actor, this._keypad.actor];
this._aspectContainer.get_children().filter(c => !nonGroupActors.includes(c)).forEach(c => {
c.destroy();