From 58bf0b0c6444c75bff442cb7055477b1723b0630 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Wed, 6 Oct 2010 15:46:55 +0200 Subject: [PATCH] wibox.layout.fixed: Fix typo Signed-off-by: Uli Schlachter --- lib/wibox/layout/fixed.lua.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/wibox/layout/fixed.lua.in b/lib/wibox/layout/fixed.lua.in index df16435ac..3bd43a2a7 100644 --- a/lib/wibox/layout/fixed.lua.in +++ b/lib/wibox/layout/fixed.lua.in @@ -99,10 +99,10 @@ end --- Reset a fixed layout. This removes all widgets from the layout. function reset(layout) - for k, v in pairs(layout.widget) do + for k, v in pairs(layout.widgets) do v:disconnect_signal("widget::updated", layout._emit_updated) end - layout.widget = {} + layout.widgets = {} layout:emit_signal("widget::updated") end