From de096e16da8a76c60b97ca0238a1cd1b545fa295 Mon Sep 17 00:00:00 2001
From: kotontrion <kotontrion@tutanota.de>
Date: Wed, 18 Sep 2024 12:55:40 +0200
Subject: wireplumber: rename get_default_wp to get_default

---
 examples/js/simple-bar/widget/Bar.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'examples/js/simple-bar/widget/Bar.tsx')

diff --git a/examples/js/simple-bar/widget/Bar.tsx b/examples/js/simple-bar/widget/Bar.tsx
index 492ab1d..19e1133 100644
--- a/examples/js/simple-bar/widget/Bar.tsx
+++ b/examples/js/simple-bar/widget/Bar.tsx
@@ -39,7 +39,7 @@ function Wifi() {
 }
 
 function AudioSlider() {
-    const speaker = Wp.get_default_wp()?.audio.defaultSpeaker!
+    const speaker = Wp.get_default()?.audio.defaultSpeaker!
 
     return <box className="AudioSlider" css="min-width: 140px">
         <icon icon={bind(speaker, "volumeIcon")} />
-- 
cgit v1.2.3

