From 0c7446c1fc89979a00847ae7bbc0425600b92f25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Mon, 8 Aug 2022 02:54:11 +0200 Subject: [PATCH] status/bluetooth: Fix call to undefined method The method started out as private and was then made public without updating the internal caller, whoops. Spotted by Sebastian Keller. https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5722 Part-of: --- js/ui/status/bluetooth.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/status/bluetooth.js b/js/ui/status/bluetooth.js index aed017a47..580121a8d 100644 --- a/js/ui/status/bluetooth.js +++ b/js/ui/status/bluetooth.js @@ -42,7 +42,7 @@ const BtClient = GObject.registerClass({ const newAdapter = this._client.default_adapter ?? null; if (newAdapter && this._adapter) - this._setHadSetupDevices([...this._getDevices()].length > 0); + this._setHadSetupDevices([...this.getDevices()].length > 0); this._adapter = newAdapter; this._deviceNotifyConnected.clear();