diff options
author | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-02-08 21:06:24 +0800 |
---|---|---|
committer | Kjartan Maraas <kmaraas@src.gnome.org> | 2006-02-08 21:06:24 +0800 |
commit | d21d923423231c70ddb674b2e6bd61b1f39675cf (patch) | |
tree | 8719db8d42b5614ef43e0612baf38e1dd4e30da2 /calendar/gui/dialogs/task-details-page.c | |
parent | e081754bc2aef21109661dbde5b47282af7371a5 (diff) | |
download | gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.gz gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.tar.zst gsoc2013-evolution-d21d923423231c70ddb674b2e6bd61b1f39675cf.zip |
broken pipes are soo fun
svn path=/trunk/; revision=31452
Diffstat (limited to 'calendar/gui/dialogs/task-details-page.c')
-rw-r--r-- | calendar/gui/dialogs/task-details-page.c | 10 |
1 files changed, 1 insertions, 9 deletions
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); |