aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-calendar-view.c')
-rw-r--r--calendar/gui/e-calendar-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index 59322d6be0..074961e54f 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -996,13 +996,13 @@ static void
on_print (GtkWidget *widget, gpointer user_data)
{
ECalendarView *cal_view;
- time_t start;
+ time_t start, end;
GnomeCalendarViewType view_type;
PrintView print_view;
cal_view = E_CALENDAR_VIEW (user_data);
- e_calendar_view_get_visible_time_range (cal_view, &start, NULL);
+ e_calendar_view_get_visible_time_range (cal_view, &start, &end);
view_type = gnome_calendar_get_view (cal_view->priv->calendar);
switch (view_type) {