diff --git a/js/misc/inputMethod.js b/js/misc/inputMethod.js index ec3959dd9..386c07a75 100644 --- a/js/misc/inputMethod.js +++ b/js/misc/inputMethod.js @@ -97,8 +97,8 @@ class InputMethod extends Clutter.InputMethod { this.commit(text.get_text()); } - _onDeleteSurroundingText() { - this.delete_surrounding(); + _onDeleteSurroundingText(_context, offset, nchars) { + this.delete_surrounding(offset, nchars); } _onUpdatePreeditText(_context, text, pos, visible) {