From 0eff8e4321d63ef1dce20cceae8314b3628767a4 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 21 Feb 2000 18:39:21 +0000 Subject: update for CamelSession changes svn path=/trunk/; revision=1889 --- mail/ChangeLog | 7 +++++++ mail/session.c | 5 ++++- 2 files changed, 11 insertions(+), 1 deletion(-) (limited to 'mail') diff --git a/mail/ChangeLog b/mail/ChangeLog index 4553049d29..198b2c612d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +2000-02-21 Dan Winship + + * session.c (session_store_new): Update session_store_new to + deal with the fact that camel_session_get_store takes a + CamelException now. Doesn't actually do anything with the + exception yet, because nothing else does yet either. + 2000-02-19 Matt Loper * .cvsignore: added test-mail. diff --git a/mail/session.c b/mail/session.c index 24197951f3..e0390c380f 100644 --- a/mail/session.c +++ b/mail/session.c @@ -23,9 +23,12 @@ SessionStore * session_store_new (const char *uri) { SessionStore *ss = g_new (SessionStore, 1); + CamelException *ex; ss->session = camel_session_new (); - ss->store = camel_session_get_store (ss->session, uri); + ex = camel_exception_new (); + ss->store = camel_session_get_store (ss->session, uri, ex); + camel_exception_free (ex); g_assert (ss->session); g_assert (ss->store); -- cgit v1.2.3