From 26c0b82425c1c9b05f9c05790ce70203df0cfa8d Mon Sep 17 00:00:00 2001 From: Jonathon Jongsma Date: Fri, 18 Dec 2009 12:40:25 -0600 Subject: Remove the EShellBackend parameter from mail_session_init() Last shell-related dep killed in MailSession https://bugzilla.gnome.org/show_bug.cgi?id=604952 --- mail/e-mail-backend.c | 2 +- mail/mail-session.c | 2 +- mail/mail-session.h | 3 +-- 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 #include -#include 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); -- cgit v1.2.3