Remove wins_slctd_init()
We only call this once. Remove the wrapper and directly call the wrapped function instead. Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
This commit is contained in:
parent
b4bd37902a
commit
69b5293c87
@ -549,7 +549,7 @@ int main(int argc, char **argv)
|
||||
|
||||
vars_init();
|
||||
wins_init();
|
||||
wins_slctd_init();
|
||||
wins_slctd_set(CAL);
|
||||
notify_init_bar();
|
||||
wins_reset_status_page();
|
||||
|
||||
|
@ -1030,7 +1030,6 @@ unsigned wins_sbar_wperc(void);
|
||||
void wins_set_sbar_width(unsigned);
|
||||
void wins_sbar_winc(void);
|
||||
void wins_sbar_wdec(void);
|
||||
void wins_slctd_init(void);
|
||||
enum win wins_slctd(void);
|
||||
void wins_slctd_set(enum win);
|
||||
void wins_slctd_next(void);
|
||||
|
@ -216,12 +216,6 @@ void wins_sbar_wdec(void)
|
||||
sbarwidth_perc--;
|
||||
}
|
||||
|
||||
/* Initialize the selected window in calcurse's interface. */
|
||||
void wins_slctd_init(void)
|
||||
{
|
||||
wins_slctd_set(CAL);
|
||||
}
|
||||
|
||||
/* Returns an enum which corresponds to the window which is selected. */
|
||||
enum win wins_slctd(void)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user