awful.util: deprecate write on stderr
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
9af7b53b84
commit
2cafc6a1c8
|
@ -23,8 +23,8 @@ local capi =
|
||||||
module("awful.util")
|
module("awful.util")
|
||||||
|
|
||||||
function deprecate()
|
function deprecate()
|
||||||
print("W: awful: function is deprecated")
|
io.stderr:write("W: awful: function is deprecated")
|
||||||
print(debug.traceback())
|
io.stderr:write(debug.traceback())
|
||||||
end
|
end
|
||||||
|
|
||||||
--- Strip alpha part of color.
|
--- Strip alpha part of color.
|
||||||
|
|
Loading…
Reference in New Issue