From cbcb065ce068b271c660fda907e168b691c54ab2 Mon Sep 17 00:00:00 2001 From: Chenthill Palanisamy Date: Mon, 8 Jan 2007 11:55:57 +0000 Subject: Fixes #383027 svn path=/trunk/; revision=33121 --- calendar/ChangeLog | 6 ++++++ calendar/gui/itip-utils.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'calendar') diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 0fc2a4e722..562e2ddf27 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,9 @@ +2007-01-08 Matthew Barnes + + Fixes #383027 + * gui/itip-utils.c: (itip_get_comp_attendee): Handle the case + when there is no default account. + 2007-01-08 Matthew Barnes Fixes #377511 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; -- cgit