aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-view-actions.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-11-27 23:28:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-11-28 02:15:08 +0800
commit8ae3cc32830179e0937b315d673d11a17658e7ac (patch)
tree8cd30a3abc8f199aab84f71d67507ee20f5d2d99 /modules/mail/e-mail-shell-view-actions.c
parenteedcd8118c26f2bb22cc0f8cee0fee5714efb257 (diff)
downloadgsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar
gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.gz
gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.bz2
gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.lz
gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.xz
gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.tar.zst
gsoc2013-evolution-8ae3cc32830179e0937b315d673d11a17658e7ac.zip
Remove mail_cancel_all().
Turns out this function was a no-op, because nothing registered itself to be cancelled this way. This was part of the legacy async framework, which we've mostly moved away from now.
Diffstat (limited to 'modules/mail/e-mail-shell-view-actions.c')
-rw-r--r--modules/mail/e-mail-shell-view-actions.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/mail/e-mail-shell-view-actions.c b/modules/mail/e-mail-shell-view-actions.c
index 26f04b3649..b389d9c9fd 100644
--- a/modules/mail/e-mail-shell-view-actions.c
+++ b/modules/mail/e-mail-shell-view-actions.c
@@ -1367,14 +1367,6 @@ action_mail_stop_cb (GtkAction *action,
shell_view = E_SHELL_VIEW (mail_shell_view);
shell_backend = e_shell_view_get_shell_backend (shell_view);
- /* XXX There's some overlap here: activities submitted through
- * the legacy MailMsg system might be cancelled twice, but
- * it shouldn't cause problems. */
-
- /* the old way */
- mail_cancel_all ();
-
- /* the new way */
e_shell_backend_cancel_all (shell_backend);
}