From 80e24954c20453a83c57a979f84c74c6adffee62 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Mon, 25 Jun 2012 12:04:45 +0200 Subject: Simplify recur_apoint_switch_notify() Pass the recurrent appointment itself instead of passing a date and an item number. This is quite simple as we can just pass the pointer that is contained in the generic item structure and don't have to LLIST_TS_FIND_*() the item first any more. Signed-off-by: Lukas Fleischer --- src/calcurse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/calcurse.h') diff --git a/src/calcurse.h b/src/calcurse.h index 23d57ce..a1208ac 100644 --- a/src/calcurse.h +++ b/src/calcurse.h @@ -865,7 +865,7 @@ void recur_exc_scan(llist_t *, FILE *); struct notify_app *recur_apoint_check_next(struct notify_app *, long, long); struct recur_apoint *recur_get_apoint(long, int); struct recur_event *recur_get_event(long, int); -void recur_apoint_switch_notify(long, int); +void recur_apoint_switch_notify(struct recur_apoint *); void recur_event_paste_item(void); void recur_apoint_paste_item(void); -- cgit v1.2.3-54-g00ecf