[evolution-patches] 55292 in evolution/calendar



Here's the patch. I wasn't checking for the case of an empty calendar
before attemmpting to publish.

-Gary
? 55292.patch
? build.txt
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/evolution/calendar/ChangeLog,v
retrieving revision 1.2192
diff -u -r1.2192 ChangeLog
--- ChangeLog	15 Mar 2004 21:26:33 -0000	1.2192
+++ ChangeLog	16 Mar 2004 17:40:35 -0000
@@ -1,3 +1,10 @@
+2004-03-17 Gary Ekker <gekker novell com>
+
+	Fixes #55292
+	
+	* gui/e-pub-utils.c (e_pub_publish): fix a crash when trying to
+	publish a NULL component
+
 2004-03-15  JP Rosevear  <jpr ximian com>
 
 	* gui/e-tasks.c (search_bar_sexp_changed_cb): set the search query
Index: gui/e-pub-utils.c
===================================================================
RCS file: /cvs/gnome/evolution/calendar/gui/e-pub-utils.c,v
retrieving revision 1.1
diff -u -r1.1 e-pub-utils.c
--- gui/e-pub-utils.c	13 Jan 2004 01:59:28 -0000	1.1
+++ gui/e-pub-utils.c	16 Mar 2004 17:40:35 -0000
@@ -286,8 +286,9 @@
 				g_free (source_uid);
 			}
 			
-			published = itip_publish_comp ((ECal *) client, 
-						       uri->location, 
+			if (cloned && clone)
+				published = itip_publish_comp ((ECal *) client,
+						       uri->location,
 						       uri->username, 
 						       uri->password, &clone);
 			


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