diff options
author | Milan Crha <mcrha@redhat.com> | 2012-07-10 20:12:25 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2012-07-10 20:12:25 +0800 |
commit | 114d0574dbc30dabd26b858834a3d891160da0da (patch) | |
tree | 5f9206e6e299769b48694ac7ae4b36252d5df7e9 | |
parent | 82e980001bdbc20996985f1ec33b968cd133d677 (diff) | |
download | gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.tar gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.tar.gz gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.tar.bz2 gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.tar.lz gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.tar.xz gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.tar.zst gsoc2013-evolution-114d0574dbc30dabd26b858834a3d891160da0da.zip |
Do not show cancelled errors from refresh_folders_exec()
-rw-r--r-- | mail/mail-send-recv.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); } |