Remove unused first parameter in some constructors
Fixes #3214. Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
parent
aba1cf398f
commit
ad1a28ced2
|
@ -199,8 +199,8 @@ local function new(widget, halign, valign)
|
|||
return ret
|
||||
end
|
||||
|
||||
function place.mt:__call(_, ...)
|
||||
return new(_, ...)
|
||||
function place.mt:__call(...)
|
||||
return new(...)
|
||||
end
|
||||
|
||||
--@DOC_widget_COMMON@
|
||||
|
|
|
@ -277,7 +277,7 @@ local function new(widget)
|
|||
return ret
|
||||
end
|
||||
|
||||
function radialprogressbar.mt:__call(_, ...)
|
||||
function radialprogressbar.mt:__call(...)
|
||||
return new(...)
|
||||
end
|
||||
|
||||
|
|
|
@ -204,7 +204,7 @@ local function new(...)
|
|||
return ret
|
||||
end
|
||||
|
||||
function stack.mt:__call(_, ...)
|
||||
function stack.mt:__call(...)
|
||||
return new(...)
|
||||
end
|
||||
|
||||
|
|
|
@ -534,7 +534,7 @@ local function new(args)
|
|||
return ret
|
||||
end
|
||||
|
||||
function slider.mt:__call(_, ...)
|
||||
function slider.mt:__call(...)
|
||||
return new(...)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue