From 17b434b57f2020a9c7bf0e459a5377e1fdef8ee4 Mon Sep 17 00:00:00 2001 From: JP Rosevear Date: Sat, 17 Jan 2004 21:29:17 +0000 Subject: we are required to pass in the end in-out arg 2004-01-17 JP Rosevear * gui/e-cal-view.c (on_print): we are required to pass in the end in-out arg Fixes #52972 svn path=/trunk/; revision=24291 --- calendar/ChangeLog | 7 +++++++ calendar/gui/e-cal-view.c | 4 ++-- calendar/gui/e-calendar-view.c | 4 ++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 4c1ff80a2d..b5d2a10c17 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,10 @@ +2004-01-17 JP Rosevear + + * gui/e-cal-view.c (on_print): we are required to pass in the end + in-out arg + + Fixes #52972 + 2004-01-17 JP Rosevear * gui/print.h: update protos 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) { -- cgit