widget.background: Fix error introduced in d01c1d2d6
Fix a copy/paste mistake.
This commit is contained in:
parent
3cffeb3f53
commit
dc432eb7a6
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue