From 47f3925e3be84ed6f6a7facd779d46a99495fb00 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Thu, 27 Aug 2009 16:44:05 +0200 Subject: [PATCH] widget: widget_geometries() is static Signed-off-by: Julien Danjou --- widget.c | 5 ++--- widget.h | 1 - 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/widget.c b/widget.c index 7c6ebb73..9fc3e039 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 4cff2ca7..7700386e 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 *);