From 4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0 Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Mon, 8 Jan 2001 21:21:25 +0000 Subject: Tasks work properly svn path=/trunk/; revision=7306 --- calendar/gui/calendar-summary.c | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'calendar/gui/calendar-summary.c') 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 ("
  • %s
  • ", text.value); - g_free (start_str); - g_free (end_str); tmp = ret_html; ret_html = g_strconcat (ret_html, tmp2, NULL); -- cgit v1.2.3