aboutsummaryrefslogtreecommitdiffstats
path: root/mail/session.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-06 17:38:42 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-03-06 17:38:42 +0800
commit7c164f12b9ae13cd2f7e068b1b8626701ab8390f (patch)
tree4027d784956aee7e7b28b78b563edcb639645cd5 /mail/session.c
parentffad0d32ceef317c2995378f654e8214629948f0 (diff)
downloadgsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.gz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.bz2
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.lz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.xz
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.tar.zst
gsoc2013-evolution-7c164f12b9ae13cd2f7e068b1b8626701ab8390f.zip
More changes than a man can remember.
The UI works now. svn path=/trunk/; revision=2074
Diffstat (limited to 'mail/session.c')
-rw-r--r--mail/session.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/mail/session.c b/mail/session.c
index a97b70ed26..1005d9cd4e 100644
--- a/mail/session.c
+++ b/mail/session.c
@@ -63,12 +63,12 @@ SessionStore *
session_store_new (const char *uri)
{
SessionStore *ss = g_new (SessionStore, 1);
- CamelException *ex;
+ CamelException ex;
ss->session = camel_session_new (evolution_auth_callback);
- ex = camel_exception_new ();
- ss->store = camel_session_get_store (ss->session, uri, ex);
- camel_exception_free (ex);
+ camel_exception_init (&ex);
+ ss->store = camel_session_get_store (ss->session, uri, &ex);
+
g_assert (ss->session);
g_assert (ss->store);