diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-04-18 01:13:55 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:55 +0800 |
commit | f31b492945408f038ae16a099900631ae9714912 (patch) | |
tree | 031f02a545f2f540048ee1fe7a8180fb10d9dd0a /mail/em-utils.c | |
parent | a6dbbf97cac0e702d9de86b4defabcbe22e12cf3 (diff) | |
download | gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.tar gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.tar.gz gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.tar.bz2 gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.tar.lz gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.tar.xz gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.tar.zst gsoc2013-evolution-f31b492945408f038ae16a099900631ae9714912.zip |
Adapt to sealed up CamelService.
Diffstat (limited to 'mail/em-utils.c')
-rw-r--r-- | mail/em-utils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/em-utils.c b/mail/em-utils.c index e674c61528..7ebe28c11e 100644 --- a/mail/em-utils.c +++ b/mail/em-utils.c @@ -2203,12 +2203,14 @@ guess_account_from_folder (CamelFolder *folder) CamelService *service; CamelStore *parent_store; EAccount *account; + CamelURL *url; gchar *source_url; parent_store = camel_folder_get_parent_store (folder); service = CAMEL_SERVICE (parent_store); - source_url = camel_url_to_string (service->url, CAMEL_URL_HIDE_ALL); + url = camel_service_get_camel_url (service); + source_url = camel_url_to_string (url, CAMEL_URL_HIDE_ALL); account = e_get_account_by_source_url (source_url); g_free (source_url); |