aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2007-01-08 19:55:57 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2007-01-08 19:55:57 +0800
commitcbcb065ce068b271c660fda907e168b691c54ab2 (patch)
tree813d4b2ebf47f00b4620f5b75eaac759895015b2
parentf1b2a1422fd6542bbe2cca4013e0fe072b514f3f (diff)
downloadgsoc2013-evolution-cbcb065ce068b271c660fda907e168b691c54ab2.tar.gz
gsoc2013-evolution-cbcb065ce068b271c660fda907e168b691c54ab2.tar.zst
gsoc2013-evolution-cbcb065ce068b271c660fda907e168b691c54ab2.zip
Fixes #383027
svn path=/trunk/; revision=33121
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/itip-utils.c2
2 files changed, 7 insertions, 1 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0fc2a4e722..562e2ddf27 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,4 +1,10 @@
2007-01-08 Matthew Barnes <mbarnes@redhat.com>
+
+ Fixes #383027
+ * gui/itip-utils.c: (itip_get_comp_attendee): Handle the case
+ when there is no default account.
+
+2007-01-08 Matthew Barnes <mbarnes@redhat.com>
Fixes #377511
* gui/e-meeting-list-view.c: (get_index_from_role):
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index aa77f91284..8cd149419b 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -255,7 +255,7 @@ itip_get_comp_attendee (ECalComponent *comp, ECal *client)
account address if the email address is not set in the backend */
/* FIXME do we have a better way ? */
a = itip_addresses_get_default ();
- address = g_strdup (a->id->address);
+ address = g_strdup ((a != NULL) ? a->id->address : "");
e_cal_component_free_attendee_list (attendees);
return address;