cleanup: Avoid unnecessary parentheses in arrow functions
Parentheses are only needed if there are zero or multiple arguments. https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
This commit is contained in:
@ -178,7 +178,7 @@ var WindowMenu = class extends PopupMenu.PopupMenu {
|
||||
}
|
||||
|
||||
let waitId = 0;
|
||||
let id = global.display.connect('grab-op-end', (display) => {
|
||||
let id = global.display.connect('grab-op-end', display => {
|
||||
display.disconnect(id);
|
||||
GLib.source_remove(waitId);
|
||||
|
||||
|
Reference in New Issue
Block a user