diff --git a/widget.c b/widget.c index 7c6ebb73a..9fc3e0393 100644 --- a/widget.c +++ b/widget.c @@ -129,12 +129,11 @@ luaA_table2widgets(lua_State *L, widget_node_array_t *widgets) } /** Retrieve a list of widget geometries using a Lua layout function. - * a table which contains the geometries is then pushed onto the stack + * a table which contains the geometries is then pushed onto the stack * \param wibox The wibox. * \return True is everything is ok, false otherwise. - * \todo What do we do if there's no layout defined? */ -bool +static bool widget_geometries(wibox_t *wibox) { /* get the layout field of the widget table */ diff --git a/widget.h b/widget.h index 4cff2ca70..7700386e4 100644 --- a/widget.h +++ b/widget.h @@ -62,7 +62,6 @@ struct widget_node_t widget_t *widget_getbycoords(orientation_t, widget_node_array_t *, int, int, int16_t *, int16_t *); void widget_render(wibox_t *); -bool widget_geometries(wibox_t *); void widget_invalidate_bywidget(widget_t *); void widget_invalidate_bytype(widget_constructor_t *);