timer: Add a backwards-compatibility hack to awful

Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
Uli Schlachter 2014-12-07 09:44:58 +01:00
parent 8eed5e7bcf
commit b9ea9255e9
1 changed files with 8 additions and 0 deletions

View File

@ -7,6 +7,14 @@
--- AWesome Functions very UsefuL
-- awful
-- TODO: This is a hack for backwards-compatibility with 3.5, remove!
local util = require("awful.util")
local gtimer = require("gears.timer")
function timer(...)
util.deprecate("gears.timer")
return gtimer(...)
end
return
{
client = require("awful.client");