From 8553a991611d354e2b1e9d60a261c5226aa0141a Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Fri, 10 Oct 2014 01:38:25 +0200 Subject: Add io_load_data() wrapper Signed-off-by: Lukas Fleischer --- src/io.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/io.c') diff --git a/src/io.c b/src/io.c index 8d1d886..d515249 100644 --- a/src/io.c +++ b/src/io.c @@ -686,6 +686,13 @@ void io_load_todo(struct item_filter *filter) file_close(data_file, __FILE_POS__); } +/* Load appointments and todo items */ +void io_load_data(struct item_filter *filter) +{ + io_load_app(filter); + io_load_todo(filter); +} + static void load_keys_ht_getkey(struct ht_keybindings_s *data, const char **key, int *len) -- cgit v1.2.3-54-g00ecf