aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-editor.c
diff options
context:
space:
mode:
authorMichael Zucci <zucchi@src.gnome.org>2003-02-24 10:59:24 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-02-24 10:59:24 +0800
commitee568bb74f887c3322f0729dedb81a1abdd6c025 (patch)
treeaba309254a92c141b1c66070313b197e7cacc338 /calendar/gui/dialogs/task-editor.c
parentff5e6a90aae6652a188903d589395775d79b11b4 (diff)
downloadgsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.tar
gsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.tar.gz
gsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.tar.bz2
gsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.tar.lz
gsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.tar.xz
gsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.tar.zst
gsoc2013-evolution-ee568bb74f887c3322f0729dedb81a1abdd6c025.zip
gconf settings upgrades
svn path=/trunk/; revision=20018
Diffstat (limited to 'calendar/gui/dialogs/task-editor.c')
-rw-r--r--calendar/gui/dialogs/task-editor.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/calendar/gui/dialogs/task-editor.c b/calendar/gui/dialogs/task-editor.c
index 73f0c5bf43..5b76c68c75 100644
--- a/calendar/gui/dialogs/task-editor.c
+++ b/calendar/gui/dialogs/task-editor.c
@@ -255,20 +255,21 @@ task_editor_edit_comp (CompEditor *editor, CalComponent *comp)
}
if (organizer.value != NULL) {
- GList *addresses, *l;
const char *strip;
int row;
+ EIterator *it;
strip = itip_strip_mailto (organizer.value);
- addresses = itip_addresses_get ();
- for (l = addresses; l != NULL; l = l->next) {
- ItipAddress *a = l->data;
-
- if (e_meeting_model_find_attendee (priv->model, a->address, &row))
+ for (it = e_list_get_iterator((EList *)itip_addresses_get ());
+ e_iterator_is_valid(it);
+ e_iterator_next(it)) {
+ EAccount *a = (EAccount *)e_iterator_get(it);
+
+ if (e_meeting_model_find_attendee (priv->model, a->id->address, &row))
e_meeting_model_restricted_add (priv->model, row);
}
- itip_addresses_free (addresses);
+ g_object_unref(it);
}
if (comp_editor_get_user_org (editor))