[gnome-shell/wip/fmuellner/more-minor-bug-fixes: 2/4] 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: 2/4] screenshot: Remove bogus parameter
- Date: Mon, 4 Feb 2019 18:44:53 +0000 (UTC)
commit f96bf2fd43ca1f5e134d838b6bdb4c1aa867abc9
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]