wibox: Remove some dead code
widget_at() no longer exists since 0aa4304bda
(and the surrounding commits
stopped us using this function).
Signed-off-by: Uli Schlachter <psychon@znc.in>
This commit is contained in:
parent
803264a488
commit
8d2dde3a34
|
@ -46,9 +46,6 @@ local function get_widget_context(self)
|
||||||
screen = s,
|
screen = s,
|
||||||
dpi = dpi,
|
dpi = dpi,
|
||||||
drawable = self,
|
drawable = self,
|
||||||
widget_at = function(_, ...)
|
|
||||||
self:widget_at(...)
|
|
||||||
end
|
|
||||||
}
|
}
|
||||||
for k, v in pairs(self._widget_context_skeleton) do
|
for k, v in pairs(self._widget_context_skeleton) do
|
||||||
context[k] = v
|
context[k] = v
|
||||||
|
|
|
@ -177,9 +177,6 @@ local function new(args)
|
||||||
|
|
||||||
setup_signals(ret)
|
setup_signals(ret)
|
||||||
ret.draw = ret._drawable.draw
|
ret.draw = ret._drawable.draw
|
||||||
ret.widget_at = function(_, widget, x, y, width, height)
|
|
||||||
return ret._drawable:widget_at(widget, x, y, width, height)
|
|
||||||
end
|
|
||||||
|
|
||||||
-- Set the default background
|
-- Set the default background
|
||||||
ret:set_bg(args.bg or beautiful.bg_normal)
|
ret:set_bg(args.bg or beautiful.bg_normal)
|
||||||
|
|
Loading…
Reference in New Issue