From f65f8935bce5538d490d872e9838874c83717953 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Wed, 16 Dec 2009 13:39:39 -0500 Subject: Kill MailSession's interactive flag. After analyzing this again I'm confident we really don't need it. The only state change is from FALSE to TRUE at startup, and that one-time event happens while the mail shell backend is starting up (see: e_shell_backend_start()). If a need arises to query for this in the future I'll extend the EShellBackend API with an e_shell_backend_started() function, but for now there's no need. --- mail/mail-mt.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'mail/mail-mt.c') diff --git a/mail/mail-mt.c b/mail/mail-mt.c index b0c8ee8895..e2f6900e72 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -249,10 +249,6 @@ mail_msg_check_error (gpointer msg) checkmem(m->priv); #endif - /* don't report any errors if we are not in interactive mode */ - if (!mail_session_get_interactive ()) - return; - if (!camel_exception_is_set(&m->ex) || m->ex.id == CAMEL_EXCEPTION_USER_CANCEL || m->ex.id == CAMEL_EXCEPTION_FOLDER_INVALID_UID -- cgit v1.2.3