mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue