From 8ae3cc32830179e0937b315d673d11a17658e7ac Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 27 Nov 2013 10:28:55 -0500 Subject: 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. --- modules/mail/e-mail-shell-view-actions.c | 8 -------- 1 file changed, 8 deletions(-) (limited to 'modules') 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); } -- cgit v1.2.3