From 9318c790b4d0e8b90cde2b52dc801e9a2f2f7b02 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Sat, 9 Mar 2013 11:47:50 -0500 Subject: EDayView: Move "work-day-*" properties to ECalModel. EWeekView would like to use them too, please. --- calendar/gui/gnome-cal.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'calendar/gui/gnome-cal.c') diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index a16c782550..f2ee620942 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -963,10 +963,10 @@ get_times_for_views (GnomeCalendar *gcal, weekday = g_date_get_weekday (&date); /* Find the first working day of the week. */ - first_work_day = e_day_view_get_first_work_day (day_view); + first_work_day = e_cal_model_get_work_day_first (model); if (first_work_day != G_DATE_BAD_WEEKDAY) { - last_work_day = e_day_view_get_last_work_day (day_view); + last_work_day = e_cal_model_get_work_day_last (model); /* Now calculate the days we need to show to include * all the working days in the week. Add 1 to make it -- cgit v1.2.3