diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-26 21:20:50 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:57 +0800 |
commit | 801450b0f391a90ce1b2726ecb571026819673b9 (patch) | |
tree | 611d5793ba1fcd3aa45b686be1041828a50a09dd /calendar/gui/dialogs/event-page.c | |
parent | d2e0897fcffad81ad5e1518d9dcb969066b68412 (diff) | |
download | gsoc2013-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/event-page.c')
-rw-r--r-- | calendar/gui/dialogs/event-page.c | 5 |
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)) { |