From 99227dff1b8ffc03b1ccf7bca131bfce38d81450 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Mon, 29 Dec 2008 18:15:09 +0100 Subject: [PATCH] awful.button: fix typo in image creation Signed-off-by: Julien Danjou --- lib/awful/widget.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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