aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/dialogs/event-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/event-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/event-page.c')
-rw-r--r--calendar/gui/dialogs/event-page.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/event-page.c b/calendar/gui/dialogs/event-page.c
index ccbbcd03bb..9560f590d2 100644
--- a/calendar/gui/dialogs/event-page.c
+++ b/calendar/gui/dialogs/event-page.c
@@ -43,6 +43,7 @@
#include "../e-timezone-entry.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"
@@ -3153,7 +3154,7 @@ event_page_select_organizer (EventPage *epage, 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);
@@ -3230,7 +3231,7 @@ event_page_construct (EventPage *epage,
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)) {