awful.util: deprecate write on stderr

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-11-12 11:37:34 +01:00
parent 9af7b53b84
commit 2cafc6a1c8
1 changed files with 2 additions and 2 deletions

View File

@ -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.