wibox.layout.fixed: Fix typo

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2010-10-06 15:46:55 +02:00
parent 742c0dead0
commit 58bf0b0c64
1 changed files with 2 additions and 2 deletions

View File

@ -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