diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-10-12 10:08:12 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-10-13 01:59:00 +0800 |
commit | ed45d23b84053e1c341db3eb5520311d314ca1ae (patch) | |
tree | c91d6e794d79d9f1fe443a69a327c58212ea3ae2 /mail/e-mail-reader-utils.c | |
parent | 4118d671d44b71592f0e91abb63f2468baaa9318 (diff) | |
download | gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar.gz gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar.bz2 gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar.lz gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar.xz gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar.zst gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.zip |
Remove mail_tools_folder_to_url().
Use camel_folder_get_uri() instead.
Diffstat (limited to 'mail/e-mail-reader-utils.c')
-rw-r--r-- | mail/e-mail-reader-utils.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/e-mail-reader-utils.c b/mail/e-mail-reader-utils.c index 44351c2824..162e78bd36 100644 --- a/mail/e-mail-reader-utils.c +++ b/mail/e-mail-reader-utils.c @@ -260,7 +260,7 @@ e_mail_reader_open_selected (EMailReader *reader) const gchar *uid = uids->pdata[ii]; CamelFolder *real_folder; CamelMessageInfo *info; - gchar *real_folder_uri; + const gchar *real_folder_uri; gchar *real_uid; if (!CAMEL_IS_VEE_FOLDER (folder)) { @@ -275,7 +275,7 @@ e_mail_reader_open_selected (EMailReader *reader) real_folder = camel_vee_folder_get_location ( CAMEL_VEE_FOLDER (folder), (CamelVeeMessageInfo *) info, &real_uid); - real_folder_uri = mail_tools_folder_to_url (real_folder); + real_folder_uri = camel_folder_get_uri (real_folder); if (em_utils_folder_is_drafts (real_folder, real_folder_uri) || em_utils_folder_is_outbox (real_folder, real_folder_uri)) { @@ -290,7 +290,6 @@ e_mail_reader_open_selected (EMailReader *reader) g_ptr_array_add (views, g_strdup (uid)); } - g_free (real_folder_uri); camel_folder_free_message_info (folder, info); } |