aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-backend.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-14 22:06:15 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-14 22:06:15 +0800
commitc9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e (patch)
tree7b186c12ac5540ced1712fd678b7d19713427d1d /modules/mail/e-mail-shell-backend.c
parentf425fdc8e2a68fe6fece41ee0684ced30cebc1ed (diff)
downloadgsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.tar
gsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.tar.gz
gsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.tar.bz2
gsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.tar.lz
gsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.tar.xz
gsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.tar.zst
gsoc2013-evolution-c9f4659cd74347bbb27ca2f8f9b8cf1e406aa52e.zip
Kill the global EMailShellBackend variable. Yay!
Diffstat (limited to 'modules/mail/e-mail-shell-backend.c')
-rw-r--r--modules/mail/e-mail-shell-backend.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/mail/e-mail-shell-backend.c b/modules/mail/e-mail-shell-backend.c
index 6ea6284755..76aeb0daaa 100644
--- a/modules/mail/e-mail-shell-backend.c
+++ b/modules/mail/e-mail-shell-backend.c
@@ -79,11 +79,6 @@ struct _EMailShellBackendPrivate {
static gpointer parent_class;
static GType mail_shell_backend_type;
-/* XXX So many things need the shell backend that it's
- * just easier for now to make it globally available.
- * We should fix this, though. */
-EMailShellBackend *global_mail_shell_backend = NULL;
-
extern gint camel_application_is_exiting;
static void
@@ -583,9 +578,6 @@ mail_shell_backend_constructed (GObject *object)
e_attachment_handler_mail_get_type ();
- /* XXX This never gets unreffed. */
- global_mail_shell_backend = g_object_ref (shell_backend);
-
g_signal_connect (
shell, "notify::online",
G_CALLBACK (mail_shell_backend_notify_online_cb),