From 8e70b71c9c866c8d6d99a460a4951310e7b0f4a2 Mon Sep 17 00:00:00 2001 From: axujen Date: Thu, 6 Apr 2017 19:33:14 +0100 Subject: [PATCH] Fix imagebox:set_image not returning anything set_image should always return true or false according to the docs --- lib/wibox/widget/imagebox.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/wibox/widget/imagebox.lua b/lib/wibox/widget/imagebox.lua index 24edbfc1..e973fc02 100644 --- a/lib/wibox/widget/imagebox.lua +++ b/lib/wibox/widget/imagebox.lua @@ -104,7 +104,7 @@ function imagebox:set_image(image) if self._private.image == image then -- The image could have been modified, so better redraw self:emit_signal("widget::redraw_needed") - return + return true end self._private.image = image