projects
/
platform
/
upstream
/
evolution-data-server.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f44a3d2
)
imapx_call_idle: Do not print Cancelled errors on console
author
Milan Crha
<mcrha@redhat.com>
Thu, 6 Feb 2014 12:00:47 +0000
(13:00 +0100)
committer
Milan Crha
<mcrha@redhat.com>
Thu, 6 Feb 2014 12:00:47 +0000
(13:00 +0100)
camel/providers/imapx/camel-imapx-server.c
patch
|
blob
|
history
diff --git
a/camel/providers/imapx/camel-imapx-server.c
b/camel/providers/imapx/camel-imapx-server.c
index
c0028b0
..
ff04c7b
100644
(file)
--- a/
camel/providers/imapx/camel-imapx-server.c
+++ b/
camel/providers/imapx/camel-imapx-server.c
@@
-3760,7
+3760,8
@@
imapx_call_idle (gpointer data)
/* XXX Need a better way to propagate IDLE errors. */
if (local_error != NULL) {
- g_warning ("%s: %s", G_STRFUNC, local_error->message);
+ if (!g_error_matches (local_error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ g_warning ("%s: %s", G_STRFUNC, local_error->message);
g_clear_error (&local_error);
}