aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJP Rosevear <jpr@ximian.com>2004-01-18 05:29:17 +0800
committerJP Rosevear <jpr@src.gnome.org>2004-01-18 05:29:17 +0800
commit17b434b57f2020a9c7bf0e459a5377e1fdef8ee4 (patch)
tree0fb17a4c70606024db9b443eec6800562a8d422d
parentd8c28801a75106daf09303a1cdcae6814fc91773 (diff)
downloadgsoc2013-evolution-17b434b57f2020a9c7bf0e459a5377e1fdef8ee4.tar.gz
gsoc2013-evolution-17b434b57f2020a9c7bf0e459a5377e1fdef8ee4.tar.zst
gsoc2013-evolution-17b434b57f2020a9c7bf0e459a5377e1fdef8ee4.zip
we are required to pass in the end in-out arg
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 svn path=/trunk/; revision=24291
-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) {