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/mail-config.c | |
parent | 4118d671d44b71592f0e91abb63f2468baaa9318 (diff) | |
download | gsoc2013-evolution-ed45d23b84053e1c341db3eb5520311d314ca1ae.tar.gz 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/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index a89722dbaf..fae6bda204 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -522,24 +522,14 @@ mail_config_service_set_save_passwd (EAccountService *service, gboolean save_pas } gchar * -mail_config_folder_to_safe_url (CamelFolder *folder) -{ - gchar *url; - - url = mail_tools_folder_to_url (folder); - e_filename_make_safe (url); - - return url; -} - -gchar * mail_config_folder_to_cachename (CamelFolder *folder, const gchar *prefix) { gchar *url, *basename, *filename; const gchar *config_dir; config_dir = mail_session_get_config_dir (); - url = mail_config_folder_to_safe_url (folder); + url = g_strdup (camel_folder_get_uri (folder)); + e_filename_make_safe (url); basename = g_strdup_printf ("%s%s", prefix, url); filename = g_build_filename (config_dir, "folders", basename, NULL); g_free (basename); |