From 1b24acf2eaf681d9da96fe11a728e77f5aedd8a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Lepage=20Vall=C3=A9e?= Date: Sun, 1 Dec 2019 03:35:26 -0500 Subject: [PATCH] progressbar: Fix a major regression. (#2933) The typo was introduced when the signal and accessors were standardized for to make the documentation less wrong. Fix #2932 --- lib/wibox/widget/progressbar.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/widget/progressbar.lua b/lib/wibox/widget/progressbar.lua index afdc4c783..db323b39a 100644 --- a/lib/wibox/widget/progressbar.lua +++ b/lib/wibox/widget/progressbar.lua @@ -480,7 +480,7 @@ for _, prop in ipairs(properties) do end end if not progressbar["get_"..prop] then - progressbar["set_" .. prop] = function(pbar) + progressbar["get_" .. prop] = function(pbar) return pbar._private[prop] end end