util.deprecate_class: use raw=true always (#1564)
Fixes > W: awful: function margin is deprecated, see wibox.layout.margin has been renamed to wibox.container.margin. to > W: wibox.layout.margin has been renamed to wibox.container.margin.
This commit is contained in:
parent
eb6a773449
commit
52011a68e1
|
@ -74,13 +74,13 @@ function util.deprecate_class(fallback, old_name, new_name)
|
|||
local message = old_name.." has been renamed to "..new_name
|
||||
|
||||
local function call(_,...)
|
||||
util.deprecate(message)
|
||||
util.deprecate(message, {raw = true})
|
||||
|
||||
return fallback(...)
|
||||
end
|
||||
|
||||
local function index(_, k)
|
||||
util.deprecate(message)
|
||||
util.deprecate(message, {raw = true})
|
||||
|
||||
return fallback[k]
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue