Rename create_widgets()

Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2008-03-20 08:42:13 +01:00
parent 098b5d40a5
commit 288f7f94a7
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }