aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-04-06 09:10:50 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-04-06 09:10:50 +0800
commitd3544525519fa18ca170466faba2ba327569188c (patch)
tree5c09729afcdbda59d581df1f5e24745bde1f9b82
parent17e6770d4df91e0e57ad2c74550f76f65224de73 (diff)
downloadgsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar
gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar.gz
gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar.bz2
gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar.lz
gsoc2013-evolution-d3544525519fa18ca170466faba2ba327569188c.tar.xz
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
-rw-r--r--mail/ChangeLog5
-rw-r--r--mail/mail-send-recv.c4
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 3a680f87d7..4aca743c5c 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,8 @@
+2007-04-05 Matthew Barnes <mbarnes@redhat.com>
+
+ * mail-send-recv.c (refresh_folders_get):
+ Provide a CamelException to camel_folder_refresh_info().
+
2007-04-04 Matthew Barnes <mbarnes@redhat.com>
* em-folder-tree.c (emft_model_row_changed):
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))