diff options
Diffstat (limited to 'calendar/gui')
-rw-r--r-- | calendar/gui/e-cal-view.c | 4 | ||||
-rw-r--r-- | calendar/gui/e-calendar-view.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/calendar/gui/e-cal-view.c b/calendar/gui/e-cal-view.c index 59322d6be0..074961e54f 100644 --- a/calendar/gui/e-cal-view.c +++ b/calendar/gui/e-cal-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) { 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) { |