aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/ChangeLog7
-rw-r--r--calendar/gui/e-pub-utils.c5
2 files changed, 10 insertions, 2 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 9620e37de7..7129c0654c 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -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-16 Rodrigo Moya <rodrigo@ximian.com>
* gui/dialogs/select-source-dialog.[ch]: new dialog for allowing the
diff --git a/calendar/gui/e-pub-utils.c b/calendar/gui/e-pub-utils.c
index 2d6cce62ec..f7191c0708 100644
--- a/calendar/gui/e-pub-utils.c
+++ b/calendar/gui/e-pub-utils.c
@@ -286,8 +286,9 @@ e_pub_publish (gboolean publish) {
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);