[evolution] Add a way for Anjal to override shell_builtin_backend.



commit 858c42577c240a3ae83feaa6f5bb7c696da8df43
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Dec 17 11:15:30 2009 -0500

    Add a way for Anjal to override shell_builtin_backend.
    
    Yes this is a horrible, nasty hack.  It's temporary.  Promise.

 mail/mail-mt.c |    7 +++++++
 mail/mail-mt.h |    2 ++
 2 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index e2f6900..df7b2e1 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 64641ee..e8d046d 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,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]