From feb0ee231e1ba8e6b5e585a1cdb14a2da2ea9ef4 Mon Sep 17 00:00:00 2001 From: Seth Alves Date: Wed, 19 Apr 2000 18:46:17 +0000 Subject: fixed code to populate the todo clist * gui/gncal-todo.c (gncal_todo_update): fixed code to populate the todo clist * cal-client/cal-client.c (cal_client_get_uids): don't check type again CALOBJ_TYPE_ANY since it will always match. (cal_client_get_uids): same (re: CALOBJ_TYPE_ANY) * pcs/cal-backend.c (build_uids_list): same (re: CALOBJ_TYPE_ANY) * pcs/cal.c (Cal_get_uids): same (re: CALOBJ_TYPE_ANY) svn path=/trunk/; revision=2509 --- calendar/pcs/cal-backend.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'calendar/pcs/cal-backend.c') diff --git a/calendar/pcs/cal-backend.c b/calendar/pcs/cal-backend.c index 4cd7877e30..353abc9465 100644 --- a/calendar/pcs/cal-backend.c +++ b/calendar/pcs/cal-backend.c @@ -860,9 +860,11 @@ build_uids_list (gpointer key, gpointer value, gpointer data) store = FALSE; + /* if (c->type & CALOBJ_TYPE_ANY) store = TRUE; - else if (ico->type == ICAL_EVENT) + else */ + if (ico->type == ICAL_EVENT) store = (c->type & CALOBJ_TYPE_EVENT) ? TRUE : FALSE; else if (ico->type == ICAL_TODO) store = (c->type & CALOBJ_TYPE_TODO) ? TRUE : FALSE; -- cgit v1.2.3