aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/em-format-html-display.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/mail/em-format-html-display.c b/mail/em-format-html-display.c
index 4557a74ecd..47dbba8439 100644
--- a/mail/em-format-html-display.c
+++ b/mail/em-format-html-display.c
@@ -443,8 +443,6 @@ attachment_loaded (EAttachment *attachment,
shell = e_shell_get_default ();
window = e_shell_get_active_window (shell);
- if (!E_IS_SHELL_WINDOW (window))
- window = NULL;
e_attachment_load_handle_error (data->attachment, res, window);