diff options
Diffstat (limited to 'calendar')
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/calendar-summary.c | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 10c9c6bf76..fd18238a6d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-01-08 Iain Holmes <iain@helixcode.com> + + * gui/calendar-summary.c (generate_html_summary): Get the tasks + correctly. + 2001-01-08 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files for the Tasks folders. diff --git a/calendar/gui/calendar-summary.c b/calendar/gui/calendar-summary.c index 258e73e7d7..8b401929d3 100644 --- a/calendar/gui/calendar-summary.c +++ b/calendar/gui/calendar-summary.c @@ -146,16 +146,11 @@ generate_html_summary (CalSummary *summary) g_free (tmp); /* Generate a list of tasks */ - uids = cal_client_get_objects_in_range (summary->client, - CALOBJ_TYPE_TODO, day_begin, - day_end); + uids = cal_client_get_uids (summary->client, CALOBJ_TYPE_TODO); for (l = uids; l; l = l->next){ CalComponent *comp; CalComponentText text; CalClientGetStatus status; - CalComponentDateTime start, end; - struct icaltimetype *start_time, *end_time; - char *start_str, *end_str; char *uid; char *tmp2; @@ -167,8 +162,6 @@ generate_html_summary (CalSummary *summary) cal_component_get_summary (comp, &text); tmp2 = g_strdup_printf ("<li>%s</li>", text.value); - g_free (start_str); - g_free (end_str); tmp = ret_html; ret_html = g_strconcat (ret_html, tmp2, NULL); |