aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-18 00:15:30 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-18 00:15:30 +0800
commit858c42577c240a3ae83feaa6f5bb7c696da8df43 (patch)
treefa5c6f44c9f8585a76aa93a3bfb7ab620fa2a9b1
parent12d86c1f7ad1ef5085b322f92ad49cc1e946c968 (diff)
downloadgsoc2013-evolution-858c42577c240a3ae83feaa6f5bb7c696da8df43.tar.gz
gsoc2013-evolution-858c42577c240a3ae83feaa6f5bb7c696da8df43.tar.zst
gsoc2013-evolution-858c42577c240a3ae83feaa6f5bb7c696da8df43.zip
Add a way for Anjal to override shell_builtin_backend.
Yes this is a horrible, nasty hack. It's temporary. Promise.
-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,