diff --git a/lib/awful/widget.lua.in b/lib/awful/widget.lua.in index 014b2711d..3a38683e3 100644 --- a/lib/awful/widget.lua.in +++ b/lib/awful/widget.lua.in @@ -393,7 +393,7 @@ function button(args) if not args or not args.image then return end local img_release if type(args.image) == "string" then - img_release = image(args.image) + img_release = capi.image(args.image) elseif type(args.image) == "image" then img_release = args.image else