[gnome-shell] dnd: Fix syntax error which led into g-s not starting anymore
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] dnd: Fix syntax error which led into g-s not starting anymore
- Date: Mon, 28 Jan 2019 01:39:16 +0000 (UTC)
commit 582b3aacf4a54299121d49501954ea02f6ed0382
Author: Pascal Nowack <Pascal Nowack gmx de>
Date: Mon Jan 28 01:12:56 2019 +0100
dnd: Fix syntax error which led into g-s not starting anymore
With the recent port to JS6 classes, the trailing
comma after functions in the syntax of classes has
been removed.
However commit c2961f21 accidentally reintroduces
one trailing comma after a newly created function,
leading into g-s throwing an exception and not
starting anymore.
Therefore, remove this trailing comma to solve
this problem.
https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/366
js/ui/dnd.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/js/ui/dnd.js b/js/ui/dnd.js
index 8bffeb408..07c19202a 100644
--- a/js/ui/dnd.js
+++ b/js/ui/dnd.js
@@ -226,7 +226,7 @@ var _Draggable = class _Draggable {
}
return false;
- },
+ }
_onEvent(actor, event) {
let device = event.get_device();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]