aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-cal-model.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/e-cal-model.c
parent831e7616c7aee818a304c962bf6007d03a29c2ed (diff)
downloadgsoc2013-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/e-cal-model.c')
-rw-r--r--calendar/gui/e-cal-model.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/e-cal-model.c b/calendar/gui/e-cal-model.c
index 9fd93324fb..ef3c0624df 100644
--- a/calendar/gui/e-cal-model.c
+++ b/calendar/gui/e-cal-model.c
@@ -37,6 +37,7 @@
#include "itip-utils.h"
#include "misc.h"
#include "e-util/e-util.h"
+#include "e-util/e-account-utils.h"
#include "e-util/e-extensible.h"
#include "e-util/e-util-enumtypes.h"
@@ -703,7 +704,7 @@ e_cal_model_init (ECalModel *model)
model->priv->kind = ICAL_NO_COMPONENT;
model->priv->flags = 0;
- model->priv->accounts = itip_addresses_get ();
+ model->priv->accounts = e_get_account_list ();
model->priv->use_24_hour_format = TRUE;