Rename create_widgets()
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
098b5d40a5
commit
288f7f94a7
4
config.c
4
config.c
|
@ -234,7 +234,7 @@ cmp_widget_cfg(const void *a, const void *b)
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
create_widgets(cfg_t* cfg_statusbar, Statusbar *statusbar)
|
statusbar_widgets_create(cfg_t *cfg_statusbar, Statusbar *statusbar)
|
||||||
{
|
{
|
||||||
cfg_t* widgets, *wptr;
|
cfg_t* widgets, *wptr;
|
||||||
Widget *widget = NULL;
|
Widget *widget = NULL;
|
||||||
|
@ -380,7 +380,7 @@ config_parse_screen(cfg_t *cfg, int screen)
|
||||||
statusbar->name = a_strdup(cfg_title(cfgsectmp));
|
statusbar->name = a_strdup(cfg_title(cfgsectmp));
|
||||||
statusbar->screen = screen;
|
statusbar->screen = screen;
|
||||||
statusbar_preinit(statusbar);
|
statusbar_preinit(statusbar);
|
||||||
create_widgets(cfgsectmp, statusbar);
|
statusbar_widgets_create(cfgsectmp, statusbar);
|
||||||
statusbar_list_push(&virtscreen->statusbar, statusbar);
|
statusbar_list_push(&virtscreen->statusbar, statusbar);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue