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/itip-formatter | |
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/itip-formatter')
-rw-r--r-- | plugins/itip-formatter/itip-formatter.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/plugins/itip-formatter/itip-formatter.c b/plugins/itip-formatter/itip-formatter.c index dcf3874b12..f2455adfa5 100644 --- a/plugins/itip-formatter/itip-formatter.c +++ b/plugins/itip-formatter/itip-formatter.c @@ -41,6 +41,7 @@ #include <mail/mail-tools.h> #include <mail/mail-mt.h> #include <libedataserver/e-account-list.h> +#include <e-util/e-account-utils.h> #include <e-util/e-alert-dialog.h> #include <e-util/e-mktemp.h> #include <calendar/gui/itip-utils.h> @@ -964,7 +965,7 @@ change_status (icalcomponent *ical_comp, const gchar *address, icalparameter_par } else { EAccount *a; - a = itip_addresses_get_default (); + a = e_get_default_account (); prop = icalproperty_new_attendee (a->id->address); icalcomponent_add_property (ical_comp, prop); @@ -2323,7 +2324,7 @@ format_itip_object (EMFormatHTML *efh, GtkHTMLEmbedded *eb, EMFormatHTMLPObject info = (struct _itip_puri *) em_format_find_puri ((EMFormat *)efh, pobject->classid); /* Accounts */ - info->accounts = itip_addresses_get (); + info->accounts = e_get_account_list (); /* Source Lists and open ecal clients */ for (i = 0; i < E_CAL_SOURCE_TYPE_LAST; i++) { |