diff --git a/build-utils/check_for_invalid_requires.lua b/build-utils/check_for_invalid_requires.lua index a5ec5b19b..924c902eb 100755 --- a/build-utils/check_for_invalid_requires.lua +++ b/build-utils/check_for_invalid_requires.lua @@ -48,11 +48,6 @@ local allowed_deps = { wibox = true, }, -- TODO: Get rid of these - ["beautiful.xresources"] = { ["awful.util"] = true }, - ["gears.object"] = { ["awful.util"] = true }, - ["wibox.container"] = { ["awful.util"] = true }, - ["wibox.layout"] = { ["awful.util"] = true }, - ["wibox.widget"] = { ["awful.util"] = true }, ["gears.surface"] = { ["wibox.hierarchy"] = true }, } diff --git a/lib/wibox/layout/align.lua b/lib/wibox/layout/align.lua index fc0d84abf..000420633 100644 --- a/lib/wibox/layout/align.lua +++ b/lib/wibox/layout/align.lua @@ -10,7 +10,7 @@ local table = table local pairs = pairs local type = type local floor = math.floor -local util = require("awful.util") +local gtable = require("gears.table") local base = require("wibox.widget.base") local align = {} @@ -186,7 +186,7 @@ end -- @property children function align:get_children() - return util.from_sparse {self._private.first, self._private.second, self._private.third} + return gtable.from_sparse {self._private.first, self._private.second, self._private.third} end function align:set_children(children)