From 9b73ae5c7d2c016a3b1f07b1040355063b32814b Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 23 Apr 2009 16:48:05 -0400 Subject: Miscellaneous bug fixes. --- mail/e-mail-shell-module.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/e-mail-shell-module.c') diff --git a/mail/e-mail-shell-module.c b/mail/e-mail-shell-module.c index 9f5eafc0a5..35bde6fed5 100644 --- a/mail/e-mail-shell-module.c +++ b/mail/e-mail-shell-module.c @@ -110,7 +110,8 @@ static struct { }; /* XXX So many things need the shell module that it's - * just easier to make it globally available. */ + * just easier for now to make it globally available. + * We should fix this, though. */ EShellModule *mail_shell_module = NULL; static GHashTable *store_hash; @@ -846,7 +847,7 @@ mail_shell_module_start (EShellModule *shell_module) if (enable_search_folders) vfolder_load_storage (); - mail_autoreceive_init (session); + mail_autoreceive_init (shell_module, session); if (g_getenv ("CAMEL_FLUSH_CHANGES") != NULL) mail_sync_timeout_source_id = g_timeout_add_seconds ( -- cgit v1.2.3