aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-calendar-view.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@src.gnome.org>2007-10-01 15:31:14 +0800
committerMilan Crha <mcrha@src.gnome.org>2007-10-01 15:31:14 +0800
commitecd38612b666a4f6f0edb2c21d1cd9769ce1d89e (patch)
tree629f28bbd0582478014d74c71ba1e8e3f9fbac57 /calendar/gui/e-calendar-view.c
parent820e1591fd4d6248dbea6d9e2b010373299cbaf5 (diff)
downloadgsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.gz
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.tar.zst
gsoc2013-evolution-ecd38612b666a4f6f0edb2c21d1cd9769ce1d89e.zip
2007-10-01 mcrha Fix for bug #342283
svn path=/trunk/; revision=34339
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