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:
Florian Müllner 2019-02-04 11:58:00 +01:00 committed by Florian Müllner
parent 95224bd006
commit 43fb2b38b1

View File

@ -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,