aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-cal-view.c4
-rw-r--r--calendar/gui/e-calendar-view.c4
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,5 +1,12 @@
2004-01-17 JP Rosevear <jpr@ximian.com>
+ * 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 <jpr@ximian.com>
+
* gui/print.h: update protos
* gui/print.c (print_title): util routine to print a title
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) {