aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/memo-page.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-04-26 21:20:50 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-04-26 21:20:50 +0800
commit8cd20682159f0e683cdd81af54611b9511f873a1 (patch)
tree9753aad4a18754fd2854df32927f814dff342dd7 /calendar/gui/dialogs/memo-page.c
parent831e7616c7aee818a304c962bf6007d03a29c2ed (diff)
downloadgsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar
gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar.gz
gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar.bz2
gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar.lz
gsoc2013-evolution-8cd20682159f0e683cdd81af54611b9511f873a1.tar.xz
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/memo-page.c')
-rw-r--r--calendar/gui/dialogs/memo-page.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/memo-page.c b/calendar/gui/dialogs/memo-page.c
index 424b3e370c..6e5313eec7 100644
--- a/calendar/gui/dialogs/memo-page.c
+++ b/calendar/gui/dialogs/memo-page.c
@@ -42,6 +42,7 @@
#include "misc/e-buffer-tagger.h"
#include "e-util/e-util.h"
+#include "e-util/e-account-utils.h"
#include "e-util/e-categories-config.h"
#include "e-util/e-dialog-utils.h"
#include "e-util/e-dialog-widgets.h"
@@ -1081,7 +1082,7 @@ memo_page_select_organizer (MemoPage *mpage, const gchar *backend_address)
ESource *source = NULL;
const gchar *user_addr = NULL;
- 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);
@@ -1153,7 +1154,7 @@ memo_page_construct (MemoPage *mpage)
}
if (flags & COMP_EDITOR_IS_SHARED) {
- 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)) {