From 114d0574dbc30dabd26b858834a3d891160da0da Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 10 Jul 2012 14:12:25 +0200 Subject: Do not show cancelled errors from refresh_folders_exec() --- mail/mail-send-recv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index 3657cfdfda..500e17e412 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -1014,7 +1014,8 @@ refresh_folders_exec (struct _refresh_folders_msg *m, } if (local_error != NULL) { - g_warning ("Failed to refresh folders: %s", local_error->message); + if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED)) + g_warning ("Failed to refresh folders: %s", local_error->message); g_clear_error (&local_error); } -- cgit v1.2.3