summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAurélien LAJOIE <orel@melix.net>2020-02-08 12:00:13 +0100
committerAurélien LAJOIE <orel@melix.net>2020-02-08 12:00:13 +0100
commit343a67f7e5c1adbff43586a57d9009a52d9173c3 (patch)
tree856cfaa1a16eb2d05930bde976554c8ac8ecdcbf
parent326d11e95b1d29783aa971d165ed0ac476e367ff (diff)
volume: fix error on mouse leave
naughty destroy is expecting a nil argument or a real notification, using `{}` triggers an error on destroy
-rw-r--r--volume-widget/volume.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/volume-widget/volume.lua b/volume-widget/volume.lua
index b2748e1..749f1f6 100644
--- a/volume-widget/volume.lua
+++ b/volume-widget/volume.lua
@@ -57,7 +57,7 @@ local function worker(args)
end
}
- local notification = {}
+ local notification
local volume_icon_name="audio-volume-high-symbolic"
local function get_notification_text(txt)