aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-send-recv.c
diff options
context:
space:
mode:
authorSuman Manjunath <msuman@src.gnome.org>2008-09-08 11:25:41 +0800
committerSuman Manjunath <msuman@src.gnome.org>2008-09-08 11:25:41 +0800
commit623b6f47b058ce6ba374162c397d138a6f831a3d (patch)
tree0d15353bc502085b25a99a713b73d32da7310332 /mail/mail-send-recv.c
parent18451a4d0e67fc45a9648ed629f2e4324281baa2 (diff)
downloadgsoc2013-evolution-623b6f47b058ce6ba374162c397d138a6f831a3d.tar.gz
gsoc2013-evolution-623b6f47b058ce6ba374162c397d138a6f831a3d.tar.zst
gsoc2013-evolution-623b6f47b058ce6ba374162c397d138a6f831a3d.zip
Milan Crha <mcrha@redhat.com> Fix for bug #328216 (Bad signature prompt for self-signed pop3 servers).
svn path=/trunk/; revision=36273
Diffstat (limited to 'mail/mail-send-recv.c')
-rw-r--r--mail/mail-send-recv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c
index 588d1287ae..139bc2dc25 100644
--- a/mail/mail-send-recv.c
+++ b/mail/mail-send-recv.c
@@ -1061,7 +1061,7 @@ auto_online(CamelObject *o, void *ed, void *d)
/* call to setup initial, and after changes are made to the config */
/* FIXME: Need a cleanup funciton for when object is deactivated */
void
-mail_autoreceive_init(void)
+mail_autoreceive_init (CamelSession *session)
{
EAccountList *accounts;
EIterator *iter;
@@ -1079,7 +1079,7 @@ mail_autoreceive_init(void)
for (iter = e_list_get_iterator((EList *)accounts);e_iterator_is_valid(iter);e_iterator_next(iter))
auto_account_added(accounts, (EAccount *)e_iterator_get(iter), NULL);
- camel_object_hook_event(mail_component_peek_session(NULL), "online", auto_online, NULL);
+ camel_object_hook_event (session, "online", auto_online, NULL);
}
/* we setup the download info's in a hashtable, if we later need to build the gui, we insert