diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-26 21:20:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2011-04-26 21:20:50 +0800 |
commit | 8cd20682159f0e683cdd81af54611b9511f873a1 (patch) | |
tree | 9753aad4a18754fd2854df32927f814dff342dd7 /plugins/groupwise-features/groupwise-account-setup.c | |
parent | 831e7616c7aee818a304c962bf6007d03a29c2ed (diff) | |
download | gsoc2013-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 'plugins/groupwise-features/groupwise-account-setup.c')
-rw-r--r-- | plugins/groupwise-features/groupwise-account-setup.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/groupwise-features/groupwise-account-setup.c b/plugins/groupwise-features/groupwise-account-setup.c index 335a3b525e..f232bab055 100644 --- a/plugins/groupwise-features/groupwise-account-setup.c +++ b/plugins/groupwise-features/groupwise-account-setup.c @@ -27,6 +27,7 @@ #include <gconf/gconf-client.h> #include "shell/es-event.h" #include <string.h> +#include <e-util/e-account-utils.h> #define GROUPWISE_BASE_URI "groupwise://" @@ -88,8 +89,8 @@ ensure_mandatory_esource_properties (EPlugin *ep, ESEventTargetUpgrade *target) EAccountList *al; EIterator *it; + al = e_get_account_list (); client = gconf_client_get_default (); - al = e_account_list_new (client); for (it = e_list_get_iterator ((EList *)al); e_iterator_is_valid (it); @@ -103,7 +104,6 @@ ensure_mandatory_esource_properties (EPlugin *ep, ESEventTargetUpgrade *target) set_esource_props ("/apps/evolution/tasks/sources", a, client, a->name); set_esource_props ("/apps/evolution/memos/sources", a, client, a->name); } - g_object_unref (al); g_object_unref (client); } |