widget: widget_geometries() is static

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2009-08-27 16:44:05 +02:00
parent 0b3b13ba19
commit 47f3925e3b
2 changed files with 2 additions and 4 deletions

View File

@ -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. /** 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. * \param wibox The wibox.
* \return True is everything is ok, false otherwise. * \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) widget_geometries(wibox_t *wibox)
{ {
/* get the layout field of the widget table */ /* get the layout field of the widget table */

View File

@ -62,7 +62,6 @@ struct widget_node_t
widget_t *widget_getbycoords(orientation_t, widget_node_array_t *, int, int, int16_t *, int16_t *); widget_t *widget_getbycoords(orientation_t, widget_node_array_t *, int, int, int16_t *, int16_t *);
void widget_render(wibox_t *); void widget_render(wibox_t *);
bool widget_geometries(wibox_t *);
void widget_invalidate_bywidget(widget_t *); void widget_invalidate_bywidget(widget_t *);
void widget_invalidate_bytype(widget_constructor_t *); void widget_invalidate_bytype(widget_constructor_t *);