[evolution-patches] patch for 2.0.x (calendar)



Just committed this to the 2.0.x branch, with JP's approval there.
-- 
Rodrigo Moya <rodrigo novell com>
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/ChangeLog,v
retrieving revision 1.324.2.14
diff -u -p -r1.324.2.14 ChangeLog
--- ChangeLog	31 Jan 2005 10:06:28 -0000	1.324.2.14
+++ ChangeLog	15 Feb 2005 17:49:36 -0000
@@ -1,3 +1,8 @@
+2005-02-15  Rodrigo Moya <rodrigo gnome-db org>
+
+	* libecal/e-cal.c (open_calendar): use e_return_error_if_fail instead
+	of g_return_val_if_fail.
+
 2005-01-31  Chenthill Palanisamy <pchenthill novell com>
 
 
Index: libecal/e-cal.c
===================================================================
RCS file: /cvs/gnome/evolution-data-server/calendar/libecal/e-cal.c,v
retrieving revision 1.75.2.4
diff -u -p -r1.75.2.4 e-cal.c
--- libecal/e-cal.c	6 Dec 2004 14:28:19 -0000	1.75.2.4
+++ libecal/e-cal.c	15 Feb 2005 17:49:36 -0000
@@ -1483,8 +1483,8 @@ open_calendar (ECal *ecal, gboolean only
 	const char *username = NULL;
 	char *password = NULL;
 	
-	g_return_val_if_fail (ecal != NULL, FALSE);
-	g_return_val_if_fail (E_IS_CAL (ecal), FALSE);
+	e_return_error_if_fail (ecal != NULL, E_CALENDAR_STATUS_INVALID_ARG);
+	e_return_error_if_fail (E_IS_CAL (ecal), E_CALENDAR_STATUS_INVALID_ARG);
 
 	priv = ecal->priv;
 	


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]