From b9ea9255e9adfdfca4b7dc24e938b9add0488db1 Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Sun, 7 Dec 2014 09:44:58 +0100 Subject: [PATCH] timer: Add a backwards-compatibility hack to awful Signed-off-by: Uli Schlachter --- lib/awful/init.lua.in | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/awful/init.lua.in b/lib/awful/init.lua.in index cb64420c4..f299c9958 100644 --- a/lib/awful/init.lua.in +++ b/lib/awful/init.lua.in @@ -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");