From 4d562306d247a81849eac1d8b7713c252e4c022f Mon Sep 17 00:00:00 2001 From: Uli Schlachter Date: Fri, 15 Jan 2016 18:43:56 +0100 Subject: [PATCH] taglist: Remove dead code The image "library" is long gone. Signed-off-by: Uli Schlachter --- lib/awful/widget/taglist.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/awful/widget/taglist.lua b/lib/awful/widget/taglist.lua index 46ac8b7f1..f632a8618 100644 --- a/lib/awful/widget/taglist.lua +++ b/lib/awful/widget/taglist.lua @@ -107,9 +107,7 @@ function taglist.taglist_label(t, args) text = text .. "" end if not taglist_disable_icon then - if tag.geticon(t) and type(tag.geticon(t)) == "image" then - icon = tag.geticon(t) - elseif tag.geticon(t) then + if tag.geticon(t) then icon = surface.load(tag.geticon(t)) end end