diff options
Diffstat (limited to 'calendar/gui/e-week-view.c')
-rw-r--r-- | calendar/gui/e-week-view.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c index 32af97d1fa..719297fe7e 100644 --- a/calendar/gui/e-week-view.c +++ b/calendar/gui/e-week-view.c @@ -1205,10 +1205,7 @@ e_week_view_set_selected_time_range (EWeekView *week_view, gboolean update_adjustment_value = FALSE; g_return_if_fail (E_IS_WEEK_VIEW (week_view)); -#if 0 - g_date_clear (&date, 1); - g_date_set_time (&date, start_time); -#endif + time_to_gdate_with_zone (&date, start_time, week_view->zone); if (week_view->multi_week_view) { @@ -1273,10 +1270,6 @@ e_week_view_set_selected_time_range (EWeekView *week_view, week_view->zone)) week_view->selection_end_day = week_view->selection_start_day; else { -#if 0 - g_date_clear (&end_date, 1); - g_date_set_time (&end_date, end_time - 60); -#endif time_to_gdate_with_zone (&end_date, end_time - 60, week_view->zone); week_view->selection_end_day = g_date_julian (&end_date) - g_date_julian (&base_date); |