aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/itip-utils.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchen@src.gnome.org>2005-10-18 18:30:52 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2005-10-18 18:30:52 +0800
commit2306d4b806323af7d0c1c3ca21cc712e69aa103e (patch)
tree48a0c7bdedf0693726863355bcd7a890c6e9c5b0 /calendar/gui/itip-utils.c
parentc9c7d379de1d9f7c2a219c5cd64df7a630e6519f (diff)
downloadgsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.gz
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.tar.zst
gsoc2013-evolution-2306d4b806323af7d0c1c3ca21cc712e69aa103e.zip
fixes #308802.
svn path=/trunk/; revision=30526
Diffstat (limited to 'calendar/gui/itip-utils.c')
-rw-r--r--calendar/gui/itip-utils.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/calendar/gui/itip-utils.c b/calendar/gui/itip-utils.c
index b38f0abe12..2b203b98a8 100644
--- a/calendar/gui/itip-utils.c
+++ b/calendar/gui/itip-utils.c
@@ -205,10 +205,8 @@ itip_get_comp_attendee (ECalComponent *comp, ECal *client)
/* We could not find the attendee in the component, so just give the default
account address if the email address is not set in the backend */
/* FIXME do we have a better way ? */
- if (!(address && *address)) {
- a = itip_addresses_get_default ();
- address = g_strdup (a->id->address);
- }
+ a = itip_addresses_get_default ();
+ address = g_strdup (a->id->address);
e_cal_component_free_attendee_list (attendees);
return address;