summaryrefslogtreecommitdiff
path: root/examples/lua
diff options
context:
space:
mode:
authorkotontrion <[email protected]>2024-09-18 12:55:40 +0200
committerkotontrion <[email protected]>2024-09-18 12:55:40 +0200
commitde096e16da8a76c60b97ca0238a1cd1b545fa295 (patch)
tree08975b942b899bf4344e6258b03566b3db26d5d1 /examples/lua
parent18c0a31fa41f925e3324042bea940155ae6bf774 (diff)
wireplumber: rename get_default_wp to get_default
Diffstat (limited to 'examples/lua')
-rw-r--r--examples/lua/simple-bar/widget/Bar.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/lua/simple-bar/widget/Bar.lua b/examples/lua/simple-bar/widget/Bar.lua
index bf70cd5..56cb060 100644
--- a/examples/lua/simple-bar/widget/Bar.lua
+++ b/examples/lua/simple-bar/widget/Bar.lua
@@ -72,7 +72,7 @@ local function Wifi()
end
local function AudioSlider()
- local speaker = Wp.get_default_wp().audio.default_speaker
+ local speaker = Wp.get_default().audio.default_speaker
return Widget.Box({
class_name = "AudioSlider",