aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/task-page.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-04-26 21:20:50 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:57 +0800
commit801450b0f391a90ce1b2726ecb571026819673b9 (patch)
tree611d5793ba1fcd3aa45b686be1041828a50a09dd /calendar/gui/dialogs/task-page.c
parentd2e0897fcffad81ad5e1518d9dcb969066b68412 (diff)
downloadgsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.tar
gsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.tar.gz
gsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.tar.bz2
gsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.tar.lz
gsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.tar.xz
gsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.tar.zst
gsoc2013-evolution-801450b0f391a90ce1b2726ecb571026819673b9.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.c5
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)) {