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:
@ -88,7 +88,7 @@ class InputMethod extends Clutter.InputMethod {
|
||||
this.commit(text.get_text());
|
||||
}
|
||||
|
||||
_onDeleteSurroundingText(context) {
|
||||
_onDeleteSurroundingText() {
|
||||
this.delete_surrounding();
|
||||
}
|
||||
|
||||
@ -108,12 +108,12 @@ class InputMethod extends Clutter.InputMethod {
|
||||
this._preeditVisible = visible;
|
||||
}
|
||||
|
||||
_onShowPreeditText(context) {
|
||||
_onShowPreeditText() {
|
||||
this._preeditVisible = true;
|
||||
this.set_preedit_text(this._preeditStr, this._preeditPos);
|
||||
}
|
||||
|
||||
_onHidePreeditText(context) {
|
||||
_onHidePreeditText() {
|
||||
this.set_preedit_text(null, this._preeditPos);
|
||||
this._preeditVisible = false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user