From b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Sat, 19 Aug 2006 10:51:21 +0000 Subject: Fixes #328268. svn path=/trunk/; revision=32592 --- plugins/itip-formatter/ChangeLog | 6 ++++++ plugins/itip-formatter/itip-formatter.c | 4 ++++ 2 files changed, 10 insertions(+) (limited to 'plugins/itip-formatter') 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 + + Fixes #328268 + * itip-formatter.c: (start_calendar_server): Check + for the presence of ecal before connecting the signal. + 2006-08-11 Harish Krishnaswamy * 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); -- cgit v1.2.3