diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-07-05 05:40:28 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-07-09 02:37:52 +0800 |
commit | 137b0743ddfbd3bbc01c9813615ede91ddd9b954 (patch) | |
tree | 1d8e09ba0239eff419d432bdd8d5b521fbb727ba /modules/mail/e-mail-shell-view.c | |
parent | 36f1f29b9a42c56a619e031b045db5a18f2b1dd7 (diff) | |
download | gsoc2013-evolution-137b0743ddfbd3bbc01c9813615ede91ddd9b954.tar.gz gsoc2013-evolution-137b0743ddfbd3bbc01c9813615ede91ddd9b954.tar.zst gsoc2013-evolution-137b0743ddfbd3bbc01c9813615ede91ddd9b954.zip |
Migrate from CamelException to GError.
Diffstat (limited to 'modules/mail/e-mail-shell-view.c')
-rw-r--r-- | modules/mail/e-mail-shell-view.c | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/modules/mail/e-mail-shell-view.c b/modules/mail/e-mail-shell-view.c index e69ae55220..3bee268afb 100644 --- a/modules/mail/e-mail-shell-view.c +++ b/modules/mail/e-mail-shell-view.c @@ -551,38 +551,28 @@ all_accounts: /* Add local folders. */ iter = mail_vfolder_get_sources_local (); while (iter != NULL) { - CamelException ex; - - camel_exception_init (&ex); - folder_uri = iter->data; - folder = mail_tool_uri_to_folder (folder_uri, 0, &ex); + folder = mail_tool_uri_to_folder (folder_uri, 0, NULL); if (folder != NULL) list = g_list_append (list, folder); else g_warning ("Could not open vfolder source: %s", folder_uri); - camel_exception_clear (&ex); iter = g_list_next (iter); } /* Add remote folders. */ iter = mail_vfolder_get_sources_remote (); while (iter != NULL) { - CamelException ex; - - camel_exception_init (&ex); - folder_uri = iter->data; - folder = mail_tool_uri_to_folder (folder_uri, 0, &ex); + folder = mail_tool_uri_to_folder (folder_uri, 0, NULL); if (folder != NULL) list = g_list_append (list, folder); else g_warning ("Could not open vfolder source: %s", folder_uri); - camel_exception_clear (&ex); iter = g_list_next (iter); } |