From e75186701e6e80d7bf61fbfc144e2eff59077499 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 11 Nov 2010 08:59:03 +0100 Subject: [PATCH] Fixed oocairo.image_surface_create_... typo its oocairo.image_surface_create_from_data not oocairo.image.surface... Signed-off-by: Matthias Signed-off-by: Uli Schlachter --- lib/naughty.lua.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/naughty.lua.in b/lib/naughty.lua.in index 144d953e1..9240c3f3b 100644 --- a/lib/naughty.lua.in +++ b/lib/naughty.lua.in @@ -530,7 +530,7 @@ if capi.dbus then end end if imgdata then - args.icon = capi.oocairo.image.surface_create_from_data(imgdata, "argb32", hints.icon_data[1], hints.icon_data[2], hints.icon_data[1] * 4) + args.icon = capi.oocairo.image_surface_create_from_data(imgdata, "argb32", hints.icon_data[1], hints.icon_data[2], hints.icon_data[1] * 4) end end if replaces_id and replaces_id ~= "" and replaces_id ~= 0 then