screenshot: Remove bogus parameter
Expecting a callback argument over D-Bus doesn't make any sense at all, whoops. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/388
This commit is contained in:
parent
95224bd006
commit
43fb2b38b1
@ -106,7 +106,7 @@ var ScreenshotService = class {
|
||||
}
|
||||
|
||||
ScreenshotAreaAsync(params, invocation) {
|
||||
let [x, y, width, height, flash, filename, callback] = params;
|
||||
let [x, y, width, height, flash, filename] = params;
|
||||
[x, y, width, height] = this._scaleArea(x, y, width, height);
|
||||
if (!this._checkArea(x, y, width, height)) {
|
||||
invocation.return_error_literal(Gio.IOErrorEnum,
|
||||
|
Loading…
Reference in New Issue
Block a user