Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.1858
diff -u -r1.1858 ChangeLog
--- ChangeLog	21 Aug 2003 16:33:39 -0000	1.1858
+++ ChangeLog	22 Aug 2003 01:57:02 -0000
@@ -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 **'
Index: gui/gnome-cal.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/gnome-cal.c,v
retrieving revision 1.258
diff -u -r1.258 gnome-cal.c
--- gui/gnome-cal.c	20 Aug 2003 10:17:00 -0000	1.258
+++ gui/gnome-cal.c	22 Aug 2003 01:57:04 -0000
@@ -2544,8 +2544,8 @@
 
 	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;
 }
