diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-04-06 09:10:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-04-06 09:10:50 +0800 |
commit | d3544525519fa18ca170466faba2ba327569188c (patch) | |
tree | 5c09729afcdbda59d581df1f5e24745bde1f9b82 /mail/mail-send-recv.c | |
parent | 17e6770d4df91e0e57ad2c74550f76f65224de73 (diff) | |
download | gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar.gz gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar.zst gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.zip |
Provide a CamelException to camel_folder_refresh_info().
2007-04-05 Matthew Barnes <mbarnes@redhat.com>
* mail/mail-send-recv.c (refresh_folders_get):
Provide a CamelException to camel_folder_refresh_info().
svn path=/trunk/; revision=33390
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r-- | mail/mail-send-recv.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 972262d267..9d00ec8f58 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -744,11 +744,13 @@ refresh_folders_get (struct _mail_msg *mm) struct _refresh_folders_msg *m = (struct _refresh_folders_msg *)mm; int i; CamelFolder *folder; + CamelException ex = CAMEL_EXCEPTION_INITIALISER; for (i=0;i<m->folders->len;i++) { folder = mail_tool_uri_to_folder(m->folders->pdata[i], 0, NULL); if (folder) { - camel_folder_refresh_info(folder, NULL); + camel_folder_refresh_info(folder, &ex); + camel_exception_clear(&ex); camel_object_unref(folder); } if (camel_operation_cancel_check(m->info->cancel)) |