awful.widget.common: remove otable usage

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-04-11 14:13:20 +02:00
parent 6b3c57970e
commit 4db50647fe
1 changed files with 2 additions and 2 deletions

View File

@ -7,8 +7,8 @@
-- Grab environment we need -- Grab environment we need
local math = math local math = math
local type = type local type = type
local otable = require("otable")
local ipairs = ipairs local ipairs = ipairs
local setmetatable = setmetatable
local capi = { widget = widget, local capi = { widget = widget,
button = button } button = button }
@ -16,7 +16,7 @@ local capi = { widget = widget,
module("awful.widget.common") module("awful.widget.common")
-- Private structures -- Private structures
tagwidgets = otable() tagwidgets = setmetatable({}, { __mode = 'k' })
function list_update(w, buttons, label, data, widgets, objects) function list_update(w, buttons, label, data, widgets, objects)
-- Hack: if it has been registered as a widget in a wibox, -- Hack: if it has been registered as a widget in a wibox,