aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mailing-list-actions
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/mailing-list-actions')
-rw-r--r--plugins/mailing-list-actions/mailing-list-actions.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/mailing-list-actions/mailing-list-actions.c b/plugins/mailing-list-actions/mailing-list-actions.c
index 254451ce7d..8b123e7d02 100644
--- a/plugins/mailing-list-actions/mailing-list-actions.c
+++ b/plugins/mailing-list-actions/mailing-list-actions.c
@@ -116,15 +116,18 @@ emla_list_action_do (CamelFolder *folder,
gint t;
EMsgComposer *composer;
gint send_message_response;
- EShellBackend *shell_backend;
EShell *shell;
+ EMailBackend *backend;
+ EShellBackend *shell_backend;
EAccount *account;
GtkWindow *window;
if (msg == NULL)
return;
- shell_backend = e_mail_reader_get_shell_backend (action_data->reader);
+ backend = e_mail_reader_get_backend (action_data->reader);
+
+ shell_backend = E_SHELL_BACKEND (backend);
shell = e_shell_backend_get_shell (shell_backend);
window = e_mail_reader_get_window (action_data->reader);