aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2013-06-14 22:06:39 +0800
committerMatthew Barnes <mbarnes@redhat.com>2013-06-14 22:06:39 +0800
commitf60986649aed9c2ce7dbd69db6a44d9c6ef87d9f (patch)
tree063a08464fdcf81469e47d093c48b020991604c9
parentbb2d6be2fbca7891faf0e78121093b33af8f9e5c (diff)
downloadgsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.tar
gsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.tar.gz
gsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.tar.bz2
gsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.tar.lz
gsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.tar.xz
gsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.tar.zst
gsoc2013-evolution-f60986649aed9c2ce7dbd69db6a44d9c6ef87d9f.zip
Remove global "shell_builtin_backend" variable.
No longer used. Always nice to remove a dirty hack on a dirty hack.
-rw-r--r--libemail-engine/mail-mt.c10
-rw-r--r--libemail-engine/mail-mt.h2
-rw-r--r--mail/em-utils.c4
3 files changed, 0 insertions, 16 deletions
diff --git a/libemail-engine/mail-mt.c b/libemail-engine/mail-mt.c
index 4cec5a8b6f..19ed41b0dc 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 03cea96398..3fd5819d0c 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 5417cdefbe..103ed62b1a 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