diff options
author | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-19 02:40:25 +0800 |
---|---|---|
committer | Jonathon Jongsma <jonathon@quotidian.org> | 2009-12-21 23:45:27 +0800 |
commit | 26c0b82425c1c9b05f9c05790ce70203df0cfa8d (patch) | |
tree | 7dfff8dd2219c5c4ec4da5098288dd1c193c711f /mail | |
parent | f256a6120f1e0434dd0d6b156b8a0318d9328c07 (diff) | |
download | gsoc2013-evolution-26c0b82425c1c9b05f9c05790ce70203df0cfa8d.tar.gz 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.c | 2 | ||||
-rw-r--r-- | mail/mail-session.c | 2 | ||||
-rw-r--r-- | 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 <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); |