cleanup: Mark unused arguments as unused
This will stop eslint from warning about them, while keeping their self-documenting benefit. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/627
This commit is contained in:
@ -84,7 +84,7 @@ class InputMethod extends Clutter.InputMethod {
|
||||
this.emit('request-surrounding');
|
||||
}
|
||||
|
||||
_onCommitText(context, text) {
|
||||
_onCommitText(_context, text) {
|
||||
this.commit(text.get_text());
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ class InputMethod extends Clutter.InputMethod {
|
||||
this.delete_surrounding();
|
||||
}
|
||||
|
||||
_onUpdatePreeditText(context, text, pos, visible) {
|
||||
_onUpdatePreeditText(_context, text, pos, visible) {
|
||||
if (text == null)
|
||||
return;
|
||||
|
||||
@ -118,7 +118,7 @@ class InputMethod extends Clutter.InputMethod {
|
||||
this._preeditVisible = false;
|
||||
}
|
||||
|
||||
_onForwardKeyEvent(context, keyval, keycode, state) {
|
||||
_onForwardKeyEvent(_context, keyval, keycode, state) {
|
||||
let press = (state & IBus.ModifierType.RELEASE_MASK) == 0;
|
||||
state &= ~(IBus.ModifierType.RELEASE_MASK);
|
||||
|
||||
|
Reference in New Issue
Block a user