summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/calcurse.c2
-rw-r--r--src/calcurse.h1
-rw-r--r--src/wins.c6
3 files changed, 1 insertions, 8 deletions
diff --git a/src/calcurse.c b/src/calcurse.c
index 000436c..0c8bfa4 100644
--- a/src/calcurse.c
+++ b/src/calcurse.c
@@ -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();
diff --git a/src/calcurse.h b/src/calcurse.h
index 6a6deaf..be18739 100644
--- a/src/calcurse.h
+++ b/src/calcurse.h
@@ -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);
diff --git a/src/wins.c b/src/wins.c
index 65b2d96..45da1d3 100644
--- a/src/wins.c
+++ b/src/wins.c
@@ -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)
{