aboutsummaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-05 19:20:32 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2009-08-05 19:20:32 +0200
commit22033bae53409d280782aff375f5ceebeaa83c1e (patch)
tree01c0a9791cac0698674bede6b6f6a14afc7fb8a7 /init.lua
parent756215f020915ab7e80e65674e063c699d480da4 (diff)
downloadvicious-legacy-22033bae53409d280782aff375f5ceebeaa83c1e.tar.xz
Disallow using a string widget type.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/init.lua b/init.lua
index 633d9c1..10aaddc 100644
--- a/init.lua
+++ b/init.lua
@@ -110,11 +110,6 @@ function register(widget, wtype, format, timer, field, padd)
reg.timer = 1
end
- -- Allow using a string widget type
- if type(reg.type) == "string" then
- reg.type = widgets[reg.type]
- end
-
-- Register reg object
regregister(reg)