[gnome-shell] audioDeviceSelection: Ensure close() is called with no arguments
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] audioDeviceSelection: Ensure close() is called with no arguments
- Date: Mon, 19 Apr 2021 17:33:18 +0000 (UTC)
commit 7eba5322b51969c0fe456e2d737423094afccbb7
Author: Florian Müllner <fmuellner gnome org>
Date: Mon Apr 19 16:01:19 2021 +0200
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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1819>
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 abd8efaaed..8660663f92 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,
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]