aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/mail-mt.c7
-rw-r--r--mail/mail-mt.h2
2 files changed, 9 insertions, 0 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index e2f6900e72..df7b2e13b4 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -968,3 +968,10 @@ mail_operation_status (CamelOperation *op, const gchar *what, gint pc, gpointer
m->data = data;
mail_msg_main_loop_push(m);
}
+
+void
+mail_mt_set_backend (char *backend)
+{
+ shell_builtin_backend = backend;
+}
+
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index 64641ee093..e8d046d9e4 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -107,6 +107,8 @@ gint mail_async_event_emit(MailAsyncEvent *ea, mail_async_event_t type, MailAsyn
/* wait for all outstanding async events to complete */
gint mail_async_event_destroy(MailAsyncEvent *ea);
+void mail_mt_set_backend (char *backend);
+
/* Call a function in the gui thread, wait for it to return, type is the marshaller to use */
typedef enum {
MAIL_CALL_p_p,