diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-26 21:20:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-04-26 21:20:50 +0800 |
commit | 8cd20682159f0e683cdd81af54611b9511f873a1 (patch) | |
tree | 9753aad4a18754fd2854df32927f814dff342dd7 /calendar/gui/dialogs/task-page.c | |
parent | 831e7616c7aee818a304c962bf6007d03a29c2ed (diff) | |
download | gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar.gz gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar.zst gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.zip |
Remove redundant EAccountList utilities.
Kill itip_addresses_get() and itip_addresses_get_default(), and use
e_get_account_list() and e_get_default_account() instead.
Diffstat (limited to 'calendar/gui/dialogs/task-page.c')
-rw-r--r-- | calendar/gui/dialogs/task-page.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/task-page.c b/calendar/gui/dialogs/task-page.c index f416d53d88..0ddd325448 100644 --- a/calendar/gui/dialogs/task-page.c +++ b/calendar/gui/dialogs/task-page.c @@ -46,6 +46,7 @@ #include "task-page.h" #include "e-util/e-util.h" +#include "e-util/e-account-utils.h" #include "e-util/e-dialog-widgets.h" #include "e-util/e-categories-config.h" #include "e-util/e-util-private.h" @@ -2004,7 +2005,7 @@ task_page_select_organizer (TaskPage *tpage, const gchar *backend_address) editor = comp_editor_page_get_editor (COMP_EDITOR_PAGE (tpage)); client = comp_editor_get_client (editor); - def_account = itip_addresses_get_default (); + def_account = e_get_default_account (); if (def_account && def_account->enabled) def_address = g_strdup_printf("%s <%s>", def_account->id->name, def_account->id->address); @@ -2081,7 +2082,7 @@ task_page_construct (TaskPage *tpage, return NULL; } - priv->accounts = itip_addresses_get (); + priv->accounts = e_get_account_list (); for (it = e_list_get_iterator ((EList *)priv->accounts); e_iterator_is_valid (it); e_iterator_next (it)) { |