diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/gnome-cal.c | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 876ccb2e56..6bfca2dd10 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2003-08-22 Bolian Yin <bolian.yin@sun.com> + + Fixes #47779 + + * gnome-cal.c (gnome_calendar_get_visible_time_range): fix the return value bug. + 2003-08-21 Rodrigo Moya <rodrigo@ximian.com> * cal-client/cal-client.[ch] (cal_client_send_object): use a 'char **' diff --git a/calendar/gui/gnome-cal.c b/calendar/gui/gnome-cal.c index ca93085e96..3ae8f4bde8 100644 --- a/calendar/gui/gnome-cal.c +++ b/calendar/gui/gnome-cal.c @@ -2544,8 +2544,8 @@ gnome_calendar_get_visible_time_range (GnomeCalendar *gcal, priv = gcal->priv; - e_cal_view_get_visible_time_range (E_CAL_VIEW (gnome_calendar_get_current_view_widget (gcal)), - start_time, end_time); + retval = e_cal_view_get_visible_time_range (E_CAL_VIEW (gnome_calendar_get_current_view_widget (gcal)), + start_time, end_time); return retval; } |