widget: widget_geometries() is static
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
0b3b13ba19
commit
47f3925e3b
3
widget.c
3
widget.c
|
@ -132,9 +132,8 @@ luaA_table2widgets(lua_State *L, widget_node_array_t *widgets)
|
||||||
* 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 */
|
||||||
|
|
1
widget.h
1
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 *);
|
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 *);
|
||||||
|
|
Loading…
Reference in New Issue