diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-25 22:30:20 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2012-06-30 14:34:35 +0200 |
commit | 0504875219bdc4c017938bdccf564d9a452afcc6 (patch) | |
tree | 85d5a82bcb7b89cffcb9daca017107108c2f9471 /src/calcurse.h | |
parent | b97c2a09cffa9963fd0f5086e5da6031b1d48342 (diff) | |
download | calcurse-0504875219bdc4c017938bdccf564d9a452afcc6.zip |
Simplify apoint_switch_notify()
Pull out code from apoint_switch_notify() -- especially the fallback
routine that calls recur_apoint_switch_notify() if the currently
selected item is a recurrent item -- and move it to a wrapper function
day_item_switch_notify().
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/calcurse.h')
-rw-r--r-- | src/calcurse.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/calcurse.h b/src/calcurse.h index be2229b..c3233bb 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -612,7 +612,7 @@ void apoint_delete_bynum(long, unsigned, enum eraseflg); void apoint_scroll_pad_down(int, int); void apoint_scroll_pad_up(int); struct notify_app *apoint_check_next(struct notify_app *, long); -void apoint_switch_notify(void); +void apoint_switch_notify(struct apoint *); void apoint_update_panel(int); void apoint_paste_item(void); @@ -682,6 +682,7 @@ int day_item_nb(long, int, int); void day_edit_note(const char *); void day_view_note(const char *); void day_pipe_item(void); +void day_item_switch_notify(void); /* dmon.c */ void dmon_start(int); |