aboutsummaryrefslogtreecommitdiff
path: root/widgets/gmail.lua
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/gmail.lua')
-rw-r--r--widgets/gmail.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/gmail.lua b/widgets/gmail.lua
index fe0be45..ba8e731 100644
--- a/widgets/gmail.lua
+++ b/widgets/gmail.lua
@@ -17,7 +17,8 @@ local string = {
-- Gmail: provides count of new and subject of last e-mail on Gmail
-module("vicious.widgets.gmail")
+-- vicious.widgets.gmail
+local gmail = {}
-- {{{ Variable definitions
@@ -79,4 +80,4 @@ local function worker(format, warg)
end
-- }}}
-setmetatable(_M, { __call = function(_, ...) return worker(...) end })
+return setmetatable(gmail, { __call = function(_, ...) return worker(...) end })