aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-ops.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-ops.c')
-rw-r--r--mail/mail-ops.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 6bb3f5b5f0..023d1781d1 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -406,6 +406,7 @@ mail_fetch_mail (const char *source, int keep, const char *type, CamelOperation
fm->driver = camel_session_get_filter_driver (session, type, NULL);
camel_filter_driver_set_folder_func (fm->driver, get_folder, get_data);
+ camel_filter_driver_set_shell_exec_func (fm->driver, mail_execute_shell_command, NULL);
if (status)
camel_filter_driver_set_status_func (fm->driver, status, status_data);
@@ -2213,7 +2214,7 @@ static struct _mail_msg_op execute_shell_command_op = {
};
void
-mail_execute_shell_command (const char *command)
+mail_execute_shell_command (CamelFilterDriver *driver, const char *command, void *data)
{
struct _execute_shell_command_msg *m;