aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorFederico Mena Quintero <federico@src.gnome.org>2001-07-18 05:57:47 +0800
committerFederico Mena Quintero <federico@src.gnome.org>2001-07-18 05:57:47 +0800
commite8298df5894f24577acbc1c4d9241d49ba2a2c63 (patch)
treed7e36d4d0ff3718e90719095540c71247ceb2c21 /calendar
parente6ed3915cf79924cca722c8f69ef32a69b4d4e4b (diff)
downloadgsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.tar
gsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.tar.gz
gsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.tar.bz2
gsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.tar.lz
gsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.tar.xz
gsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.tar.zst
gsoc2013-evolution-e8298df5894f24577acbc1c4d9241d49ba2a2c63.zip
Remove leftover ifdefs - Federico
svn path=/trunk/; revision=11183
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/e-day-view.c4
-rw-r--r--calendar/gui/e-week-view.c9
2 files changed, 1 insertions, 12 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c
index bb5f4d7559..d46d941c2b 100644
--- a/calendar/gui/e-day-view.c
+++ b/calendar/gui/e-day-view.c
@@ -2154,10 +2154,6 @@ e_day_view_find_work_week_start (EDayView *day_view,
gint weekday, day, i, offset;
struct icaltimetype tt = icaltime_null_time ();
-#if 0
- g_date_clear (&date, 1);
- g_date_set_time (&date, start_time);
-#endif
time_to_gdate_with_zone (&date, start_time, day_view->zone);
/* The start of the work-week is the first working day after the
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);