diff options
author | Milan Crha <mcrha@redhat.com> | 2011-06-28 00:04:57 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-06-28 00:04:57 +0800 |
commit | 566d861915da77e93b097a927a79f0130de8c535 (patch) | |
tree | 62226a7396bd10080d12f0d69262251aa45e34c2 /modules/calendar/e-memo-shell-sidebar.c | |
parent | 05933ef483635b84514eb285d4d839b87c3b3afb (diff) | |
download | gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.tar gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.tar.gz gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.tar.bz2 gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.tar.lz gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.tar.xz gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.tar.zst gsoc2013-evolution-566d861915da77e93b097a927a79f0130de8c535.zip |
Check for cancelled GIO operation error code too
Diffstat (limited to 'modules/calendar/e-memo-shell-sidebar.c')
-rw-r--r-- | modules/calendar/e-memo-shell-sidebar.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c index 01806199bb..cf38c219b5 100644 --- a/modules/calendar/e-memo-shell-sidebar.c +++ b/modules/calendar/e-memo-shell-sidebar.c @@ -319,8 +319,8 @@ memo_shell_sidebar_default_loaded_cb (GObject *source_object, GAsyncResult *resu if (!e_client_utils_open_new_finish (E_SOURCE (source_object), result, &client, &error)) client = NULL; - if (g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) || - 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); goto exit; } |