aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorJonathon Jongsma <jonathon@quotidian.org>2009-12-19 02:40:25 +0800
committerJonathon Jongsma <jonathon@quotidian.org>2009-12-21 23:45:27 +0800
commit26c0b82425c1c9b05f9c05790ce70203df0cfa8d (patch)
tree7dfff8dd2219c5c4ec4da5098288dd1c193c711f /mail
parentf256a6120f1e0434dd0d6b156b8a0318d9328c07 (diff)
downloadgsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar
gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar.gz
gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar.bz2
gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar.lz
gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar.xz
gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar.zst
gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.zip
Remove the EShellBackend parameter from mail_session_init()
Last shell-related dep killed in MailSession https://bugzilla.gnome.org/show_bug.cgi?id=604952
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-backend.c2
-rw-r--r--mail/mail-session.c2
-rw-r--r--mail/mail-session.h3
3 files changed, 3 insertions, 4 deletions
diff --git a/mail/e-mail-backend.c b/mail/e-mail-backend.c
index dca721770e..06d9dd1f2f 100644
--- a/mail/e-mail-backend.c
+++ b/mail/e-mail-backend.c
@@ -386,7 +386,7 @@ mail_backend_constructed (GObject *object)
shell = e_shell_backend_get_shell (shell_backend);
/* This also initializes Camel, so it needs to happen early. */
- mail_session_init (shell_backend);
+ mail_session_init ();
camel_session_set_online ((CamelSession *) session, e_shell_get_online (shell));
e_account_combo_box_set_session (session); /* XXX Don't ask... */
diff --git a/mail/mail-session.c b/mail/mail-session.c
index 1aa1972f52..a5cd5a6ed7 100644
--- a/mail/mail-session.c
+++ b/mail/mail-session.c
@@ -797,7 +797,7 @@ mail_session_check_junk_notify (GConfClient *gconf, guint id, GConfEntry *entry,
}
void
-mail_session_init (EShellBackend *shell_backend)
+mail_session_init (void)
{
GConfClient *gconf;
diff --git a/mail/mail-session.h b/mail/mail-session.h
index 9531852706..ff3ee490a1 100644
--- a/mail/mail-session.h
+++ b/mail/mail-session.h
@@ -25,11 +25,10 @@
#include <glib.h>
#include <camel/camel-session.h>
-#include <shell/e-shell-backend.h>
G_BEGIN_DECLS
-void mail_session_init (EShellBackend *shell_backend);
+void mail_session_init (void);
void mail_session_shutdown (void);
gchar *mail_session_request_dialog (const gchar *prompt, gboolean secret,
const gchar *key, gboolean async);