aboutsummaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-12 10:08:12 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-13 01:59:00 +0800
commited45d23b84053e1c341db3eb5520311d314ca1ae (patch)
treec91d6e794d79d9f1fe443a69a327c58212ea3ae2 /modules
parent4118d671d44b71592f0e91abb63f2468baaa9318 (diff)
downloadgsoc2013-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 'modules')
-rw-r--r--modules/mail/e-mail-shell-view.c12
1 files changed, 4 insertions, 8 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c
index 4696a39456..cdfdd59c5c 100644
--- a/modules/mail/e-mail-shell-view.c
+++ b/modules/mail/e-mail-shell-view.c
@@ -603,13 +603,11 @@ all_accounts:
CAMEL_FOLDER (search_folder), list,
priv->search_account_cancel);
- uri = mail_tools_folder_to_url (CAMEL_FOLDER (search_folder));
+ folder_uri = camel_folder_get_uri (CAMEL_FOLDER (search_folder));
mail_shell_view_show_search_results_folder (
E_MAIL_SHELL_VIEW (shell_view),
- CAMEL_FOLDER (search_folder), uri);
-
- g_free (uri);
+ CAMEL_FOLDER (search_folder), folder_uri);
goto execute;
@@ -756,13 +754,11 @@ current_account:
CAMEL_FOLDER (search_folder), list,
priv->search_account_cancel);
- uri = mail_tools_folder_to_url (CAMEL_FOLDER (search_folder));
+ folder_uri = camel_folder_get_uri (CAMEL_FOLDER (search_folder));
mail_shell_view_show_search_results_folder (
E_MAIL_SHELL_VIEW (shell_view),
- CAMEL_FOLDER (search_folder), uri);
-
- g_free (uri);
+ CAMEL_FOLDER (search_folder), folder_uri);
execute: