diff options
-rw-r--r-- | calendar/ChangeLog | 6 | ||||
-rw-r--r-- | calendar/gui/itip-utils.c | 2 |
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; |