From d21d923423231c70ddb674b2e6bd61b1f39675cf Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Wed, 8 Feb 2006 13:06:24 +0000 Subject: broken pipes are soo fun svn path=/trunk/; revision=31452 --- calendar/gui/dialogs/task-details-page.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'calendar/gui/dialogs/task-details-page.c') diff --git a/calendar/gui/dialogs/task-details-page.c b/calendar/gui/dialogs/task-details-page.c index d8449db72d..aa3b26abef 100644 --- a/calendar/gui/dialogs/task-details-page.c +++ b/calendar/gui/dialogs/task-details-page.c @@ -96,7 +96,7 @@ static gboolean task_details_page_fill_widgets (CompEditorPage *page, ECalCompon static gboolean task_details_page_fill_component (CompEditorPage *page, ECalComponent *comp); static gboolean task_details_page_fill_timezones (CompEditorPage *page, GHashTable *timezones); -G_DEFINE_TYPE (TaskDetailsPage, task_details_page, TYPE_COMP_EDITOR_PAGE); +G_DEFINE_TYPE (TaskDetailsPage, task_details_page, TYPE_COMP_EDITOR_PAGE) /* Class initialization function for the task page */ static void @@ -458,13 +458,8 @@ task_details_page_fill_component (CompEditorPage *page, ECalComponent *comp) static gboolean task_details_page_fill_timezones (CompEditorPage *page, GHashTable *timezones) { - TaskDetailsPage *tdpage; - TaskDetailsPagePrivate *priv; icaltimezone *zone; - tdpage = TASK_DETAILS_PAGE (page); - priv = tdpage->priv; - /* add UTC timezone, which is the one used for the DATE-COMPLETED property */ zone = icaltimezone_get_utc_timezone (); if (zone) { @@ -537,13 +532,10 @@ get_widgets (TaskDetailsPage *tdpage) static void complete_date_changed (TaskDetailsPage *tdpage, time_t ctime, gboolean complete) { - TaskDetailsPagePrivate *priv; CompEditorPageDates dates = {NULL, NULL, NULL, NULL}; icaltimezone *zone; struct icaltimetype completed_tt = icaltime_null_time(); - priv = tdpage->priv; - /* Get the current time in UTC. */ zone = icaltimezone_get_utc_timezone (); completed_tt = icaltime_from_timet_with_zone (ctime, FALSE, zone); -- cgit v1.2.3