diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-28 00:04:57 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:34 +0800 |
commit | adc1173159d4d5d953340f8f3c813681007de524 (patch) | |
tree | 8a0bfc8e9a11e3489f4def2bbb7fe0a4bd645aa2 /addressbook/gui/widgets/e-addressbook-view.c | |
parent | 8894b72f2045388990b5696f3e8db97b9544ccf4 (diff) | |
download | gsoc2013-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 'addressbook/gui/widgets/e-addressbook-view.c')
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 00f106ea40..1de028c9fa 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -1259,7 +1259,8 @@ report_and_free_error_if_any (GError *error) if (!error) return; - 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_error_free (error); return; } |