[evolution] Remove global "shell_builtin_backend" variable.



commit f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f
Author: Matthew Barnes <mbarnes redhat com>
Date:   Fri Jun 14 10:06:39 2013 -0400

    Remove global "shell_builtin_backend" variable.
    
    No longer used.  Always nice to remove a dirty hack on a dirty hack.

 libemail-engine/mail-mt.c |   10 ----------
 libemail-engine/mail-mt.h |    2 --
 mail/em-utils.c           |    4 ----
 3 files changed, 0 insertions(+), 16 deletions(-)
---
diff --git a/libemail-engine/mail-mt.c b/libemail-engine/mail-mt.c
index 4cec5a8..19ed41b 100644
--- a/libemail-engine/mail-mt.c
+++ b/libemail-engine/mail-mt.c
@@ -33,10 +33,6 @@
 /*#define MALLOC_CHECK*/
 #define d(x)
 
-/* XXX This is a dirty hack on a dirty hack.  We really need
- *     to rework or get rid of the functions that use this. */
-const gchar *shell_builtin_backend = "mail";
-
 static guint mail_msg_seq; /* sequence number of each message */
 
 /* Table of active messages.  Must hold mail_msg_lock to access. */
@@ -662,9 +658,3 @@ mail_call_main (mail_call_t type,
        return ret;
 }
 
-void
-mail_mt_set_backend (gchar *backend)
-{
-       shell_builtin_backend = backend;
-}
-
diff --git a/libemail-engine/mail-mt.h b/libemail-engine/mail-mt.h
index 03cea96..3fd5819 100644
--- a/libemail-engine/mail-mt.h
+++ b/libemail-engine/mail-mt.h
@@ -104,8 +104,6 @@ void mail_cancel_all (void);
 gchar *mail_get_password (CamelService *service, const gchar *prompt,
                         gboolean secret, gboolean *cache);
 
-void mail_mt_set_backend (gchar *backend);
-
 /* Call a function in the GUI thread, wait for it to return, type is
  * the marshaller to use.  FIXME This thing is horrible, please put
  * it out of its misery. */
diff --git a/mail/em-utils.c b/mail/em-utils.c
index 5417cde..103ed62 100644
--- a/mail/em-utils.c
+++ b/mail/em-utils.c
@@ -62,10 +62,6 @@
 #include "em-utils.h"
 #include "e-mail-printer.h"
 
-/* XXX This is a dirty hack on a dirty hack.  We really need
- *     to rework or get rid of the functions that use this. */
-extern const gchar *shell_builtin_backend;
-
 /* How many is too many? */
 /* Used in em_util_ask_open_many() */
 #define TOO_MANY 10


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