aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-06-28 00:04:57 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:34 +0800
commitadc1173159d4d5d953340f8f3c813681007de524 (patch)
tree8a0bfc8e9a11e3489f4def2bbb7fe0a4bd645aa2 /calendar
parent8894b72f2045388990b5696f3e8db97b9544ccf4 (diff)
downloadgsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.tar
gsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.tar.gz
gsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.tar.bz2
gsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.tar.lz
gsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.tar.xz
gsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.tar.zst
gsoc2013-evolution-adc1173159d4d5d953340f8f3c813681007de524.zip
Check for cancelled GIO operation error code too
Diffstat (limited to 'calendar')
-rw-r--r--calendar/gui/dialogs/comp-editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index da7759523e..88b8b4a89f 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -378,7 +378,8 @@ changes_view_ready_cb (GObject *source_object, GAsyncResult *result, gpointer us
g_error_free (error);
}
} else if (error) {
- if (!g_error_matches (error, E_CLIENT_ERROR, E_CLIENT_ERROR_CANCELLED))
+ if (!g_error_matches (error, E_CLIENT_ERROR, E_CLIENT_ERROR_CANCELLED) &&
+ !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
g_debug ("%s: Failed to get view: %s", G_STRFUNC, error->message);
g_error_free (error);
}