awful.hooks: deprecate

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-25 16:28:59 +02:00
parent 924b659e93
commit 8389b8c5d6
1 changed files with 1 additions and 0 deletions

View File

@ -127,6 +127,7 @@ for name, hook in pairs(capi.hooks) do
end
else
_M[name].register = function (f)
util.deprecate("signals")
if not _M[name].callbacks then
_M[name].callbacks = {}
hook(function (...)