aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--plugins/itip-formatter/ChangeLog6
-rw-r--r--plugins/itip-formatter/itip-formatter.c4
2 files changed, 10 insertions, 0 deletions
diff --git a/plugins/itip-formatter/ChangeLog b/plugins/itip-formatter/ChangeLog
index 18ed294104..c38d2e7694 100644
--- a/plugins/itip-formatter/ChangeLog
+++ b/plugins/itip-formatter/ChangeLog
@@ -1,3 +1,9 @@
+2006-08-18 Chenthill Palanisamy <pchenthill@novell.com>
+
+ Fixes #328268
+ * itip-formatter.c: (start_calendar_server): Check
+ for the presence of ecal before connecting the signal.
+
2006-08-11 Harish Krishnaswamy <kharish@novell.com>
* itip-formatter.c: (send_comp_to_attendee):
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c
index 5055cb6700..cdfc819a4c 100644
--- a/plugins/itip-formatter/itip-formatter.c
+++ b/plugins/itip-formatter/itip-formatter.c
@@ -324,6 +324,10 @@ start_calendar_server (FormatItipPObject *pitip, ESource *source, ECalSourceType
}
ecal = auth_new_cal_from_source (source, type);
+
+ if (!ecal)
+ return NULL;
+
g_signal_connect (G_OBJECT (ecal), "cal_opened", G_CALLBACK (func), data);
g_hash_table_insert (pitip->ecals[type], g_strdup (e_source_peek_uid (source)), ecal);