[gnome-shell/wip/fmuellner/more-minor-bug-fixes: 5/7] screenshot: Remove bogus parameter
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/fmuellner/more-minor-bug-fixes: 5/7] screenshot: Remove bogus parameter
- Date: Tue, 5 Feb 2019 02:22:04 +0000 (UTC)
commit 43fb2b38b1a9bc3888ab1970d61aeac6f18b8eb7
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Feb 4 11:58:00 2019 +0100
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
js/ui/screenshot.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/screenshot.js b/js/ui/screenshot.js
index f0e1c4825..a314dfcea 100644
--- a/js/ui/screenshot.js
+++ b/js/ui/screenshot.js
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]