[gnome-shell] status/bluetooth: Fix call to undefined method



commit 0c7446c1fc89979a00847ae7bbc0425600b92f25
Author: Florian Müllner <fmuellner gnome org>
Date:   Mon Aug 8 02:54:11 2022 +0200

    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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2409>

 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 aed017a477..580121a8da 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();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]