aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/itip-formatter
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2006-08-19 18:51:21 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2006-08-19 18:51:21 +0800
commitb5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f (patch)
tree22a1615016b36b8e7c8ce2bbdfd02db9bf93e1c1 /plugins/itip-formatter
parent6bc484b25bde534caef7e73caeb8ca4db24f0547 (diff)
downloadgsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.tar
gsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.tar.gz
gsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.tar.bz2
gsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.tar.lz
gsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.tar.xz
gsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.tar.zst
gsoc2013-evolution-b5db1cd7c266cf09aa6c8ec17f8d2c1bc7c39f1f.zip
Fixes #328268.
svn path=/trunk/; revision=32592
Diffstat (limited to 'plugins/itip-formatter')
-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);