Skip to content

Commit

Permalink
docs: Fix widget.wibox.slider example (#3923)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cyan903 authored Jun 6, 2024
1 parent 8b1f895 commit ad0290b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/examples/wibox/widget/defaults/slider.lua
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ widget:connect_signal("property::value", function(_, new_value)
error(string.format("unexpected value %s", new_value))
end
--DOC_HIDE_END
naughty.notify { title = "Slider changed", message = new_value }
naughty.notify { title = "Slider changed", message = tostring(new_value) }
end)

--DOC_HIDE_START
Expand Down

0 comments on commit ad0290b

Please sign in to comment.