fix(lib: wibox: layout: constraint): s/base_widget/base/
Closes https://github.com/awesomeWM/awesome/pull/446.
This commit is contained in:
parent
57755b3db2
commit
475358050a
|
@ -99,7 +99,7 @@ end
|
||||||
-- @param[opt] width The maximum width of the widget. nil for no limit.
|
-- @param[opt] width The maximum width of the widget. nil for no limit.
|
||||||
-- @param[opt] height The maximum height of the widget. nil for no limit.
|
-- @param[opt] height The maximum height of the widget. nil for no limit.
|
||||||
local function new(widget, strategy, width, height)
|
local function new(widget, strategy, width, height)
|
||||||
local ret = widget_base.make_widget()
|
local ret = base.make_widget()
|
||||||
|
|
||||||
for k, v in pairs(constraint) do
|
for k, v in pairs(constraint) do
|
||||||
if type(v) == "function" then
|
if type(v) == "function" then
|
||||||
|
|
Loading…
Reference in New Issue