Remove unused first parameter in some constructors

Fixes #3214.

Signed-off-by: Lucas Schwiderski <lucas@lschwiderski.de>
This commit is contained in:
Lucas Schwiderski 2021-03-08 18:20:23 +01:00
parent aba1cf398f
commit ad1a28ced2
No known key found for this signature in database
GPG Key ID: AA12679AAA6DF4D8
4 changed files with 5 additions and 5 deletions

View File

@ -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@

View File

@ -277,7 +277,7 @@ local function new(widget)
return ret
end
function radialprogressbar.mt:__call(_, ...)
function radialprogressbar.mt:__call(...)
return new(...)
end

View File

@ -204,7 +204,7 @@ local function new(...)
return ret
end
function stack.mt:__call(_, ...)
function stack.mt:__call(...)
return new(...)
end

View File

@ -534,7 +534,7 @@ local function new(args)
return ret
end
function slider.mt:__call(_, ...)
function slider.mt:__call(...)
return new(...)
end