diff options
Diffstat (limited to 'modules/calendar/e-memo-shell-sidebar.c')
-rw-r--r-- | modules/calendar/e-memo-shell-sidebar.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/modules/calendar/e-memo-shell-sidebar.c b/modules/calendar/e-memo-shell-sidebar.c index 1654e1096c..eeab5f53b5 100644 --- a/modules/calendar/e-memo-shell-sidebar.c +++ b/modules/calendar/e-memo-shell-sidebar.c @@ -206,16 +206,10 @@ memo_shell_sidebar_handle_connect_error (EActivity *activity, const GError *error) { EAlertSink *alert_sink; - gboolean cancelled = FALSE; gboolean offline_error; alert_sink = e_activity_get_alert_sink (activity); - cancelled |= g_error_matches ( - error, G_IO_ERROR, G_IO_ERROR_CANCELLED); - cancelled |= g_error_matches ( - error, E_CLIENT_ERROR, E_CLIENT_ERROR_CANCELLED); - offline_error = g_error_matches ( error, E_CLIENT_ERROR, E_CLIENT_ERROR_REPOSITORY_OFFLINE); |