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.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/calendar/gui/e-calendar-view.c b/calendar/gui/e-calendar-view.c
index b5bf116be3..79b9e5d711 100644
--- a/calendar/gui/e-calendar-view.c
+++ b/calendar/gui/e-calendar-view.c
@@ -1204,14 +1204,8 @@ static void
on_print (EPopup *ep, EPopupItem *pitem, void *data)
{
ECalendarView *cal_view = data;
- time_t start, end;
- e_calendar_view_get_visible_time_range (cal_view, &start, &end);
-
- print_calendar (
- cal_view->priv->calendar,
- GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,
- start);
+ calendar_command_print (cal_view->priv->calendar, GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG);
}
static void