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-composer-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-composer-utils.c')
-rw-r--r-- | mail/em-composer-utils.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 752a78af07..b916e15d29 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -2042,11 +2042,16 @@ reply_get_composer (EShell *shell, if (folder) { CamelStore *parent_store; + CamelService *service; + CamelURL *url; parent_store = camel_folder_get_parent_store (folder); + + service = CAMEL_SERVICE (parent_store); + url = camel_service_get_camel_url (service); + store_url = camel_url_to_string ( - CAMEL_SERVICE (parent_store)->url, - CAMEL_URL_HIDE_ALL); + url, CAMEL_URL_HIDE_ALL); if (store_url[strlen (store_url) - 1] == '/') store_url[strlen (store_url)-1] = '\0'; } |