awful.wibox: remove useless deprecation-pass code

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-09-14 15:14:07 +02:00
parent f66178c5df
commit a6de1608a5
1 changed files with 0 additions and 2 deletions

View File

@ -211,8 +211,6 @@ function new(arg)
local arg = arg or {} local arg = arg or {}
local position = arg.position or "top" local position = arg.position or "top"
local has_to_stretch = true local has_to_stretch = true
-- Empty position and align in arg so we are passing deprecation warning
arg.position = nil
if position ~= "top" and position ~="bottom" if position ~= "top" and position ~="bottom"
and position ~= "left" and position ~= "right" then and position ~= "left" and position ~= "right" then