From 83529b8532f36c48724626e63009683266a42a3b Mon Sep 17 00:00:00 2001 From: Damon Chaplin Date: Wed, 3 Oct 2001 04:29:55 +0000 Subject: used time_add_day/week/month _with_zone() functions rather than the old 2001-10-01 Damon Chaplin * e-summary-calendar.c (generate_html): used time_add_day/week/month _with_zone() functions rather than the old versions. * e-summary.c (alarm_fn): use time_day_end_with_zone (). * e-summary-tasks.c (generate_html): removed day_begin and day_end since they aren't used, and the calls to time_day_begin/end(). svn path=/trunk/; revision=13365 --- my-evolution/e-summary-tasks.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'my-evolution/e-summary-tasks.c') diff --git a/my-evolution/e-summary-tasks.c b/my-evolution/e-summary-tasks.c index 9ed5c6bc55..529af3f90e 100644 --- a/my-evolution/e-summary-tasks.c +++ b/my-evolution/e-summary-tasks.c @@ -215,11 +215,9 @@ generate_html (gpointer data) GList *uids, *l; GString *string; char *tmp; - time_t t, day_begin, day_end; + time_t t; t = time (NULL); - day_begin = time_day_begin (t); - day_end = time_day_end (t); uids = cal_client_get_uids (tasks->client, CALOBJ_TYPE_TODO); if (summary->preferences->show_tasks == E_SUMMARY_CALENDAR_TODAYS_TASKS && uids != NULL) { -- cgit v1.2.3