From 7eba5322b51969c0fe456e2d737423094afccbb7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 19 Apr 2021 16:01:19 +0200 Subject: [PATCH] audioDeviceSelection: Ensure close() is called with no arguments This is the same as commit c5b18ee66a, but for the audio device selection dialog. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4139 Part-of: --- js/ui/audioDeviceSelection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/audioDeviceSelection.js b/js/ui/audioDeviceSelection.js index abd8efaae..8660663f9 100644 --- a/js/ui/audioDeviceSelection.js +++ b/js/ui/audioDeviceSelection.js @@ -57,7 +57,7 @@ var AudioDeviceSelectionDialog = GObject.registerClass({ }); } this.addButton({ - action: this.close.bind(this), + action: () => this.close(), label: _('Cancel'), key: Clutter.KEY_Escape, });