widget.background: Fix error introduced in d01c1d2d6

Fix a copy/paste mistake.
This commit is contained in:
Emmanuel Lepage Vallee 2016-01-21 22:48:26 -05:00
parent 3cffeb3f53
commit dc432eb7a6
1 changed files with 2 additions and 2 deletions

View File

@ -93,8 +93,8 @@ end
-- @param shape A function taking a context, width and height as arguments -- @param shape A function taking a context, width and height as arguments
-- Any other arguments will be passed to the shape function -- Any other arguments will be passed to the shape function
function background:set_shape(shape, ...) function background:set_shape(shape, ...)
ret._shape = shape self._shape = shape
ret._shape_args = {...} self._shape_args = {...}
self:emit_signal("widget::redraw_needed") self:emit_signal("widget::redraw_needed")
end end