awful.wibox: remove useless deprecation-pass code
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
f66178c5df
commit
a6de1608a5
|
@ -211,8 +211,6 @@ function new(arg)
|
|||
local arg = arg or {}
|
||||
local position = arg.position or "top"
|
||||
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"
|
||||
and position ~= "left" and position ~= "right" then
|
||||
|
|
Loading…
Reference in New Issue