aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-summary.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-01-09 05:21:25 +0800
committerIain Holmes <iain@src.gnome.org>2001-01-09 05:21:25 +0800
commit4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0 (patch)
treef749e8da40e16b2c105efeb03a6db2d7e60cf233 /calendar/gui/calendar-summary.c
parent875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7 (diff)
downloadgsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar
gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.gz
gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.bz2
gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.lz
gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.xz
gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.zst
gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.zip
Tasks work properly
svn path=/trunk/; revision=7306
Diffstat (limited to 'calendar/gui/calendar-summary.c')
-rw-r--r--calendar/gui/calendar-summary.c9
1 files changed, 1 insertions, 8 deletions
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);