From 96b306af3289d236e2b23f8cb91327dc71c937b8 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Mon, 17 Apr 2000 20:23:30 +0000 Subject: Remove the "session" field from CamelMimeMessage. Nothing uses it, about * camel-mime-message.[ch]: Remove the "session" field from CamelMimeMessage. Nothing uses it, about half of the existing calls to camel_mime_message_new_with_session pass NULL, and there's no obvious reason for it to be there. * others: Use camel_mime_message_new instead of camel_mime_message_new_with_session svn path=/trunk/; revision=2479 --- camel/providers/pop3/camel-pop3-folder.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'camel/providers/pop3/camel-pop3-folder.c') diff --git a/camel/providers/pop3/camel-pop3-folder.c b/camel/providers/pop3/camel-pop3-folder.c index 0b2ccb030b..cf0d1763d3 100644 --- a/camel/providers/pop3/camel-pop3-folder.c +++ b/camel/providers/pop3/camel-pop3-folder.c @@ -207,7 +207,7 @@ get_message_by_number (CamelFolder *folder, gint number, CamelException *ex) msgstream = camel_stream_mem_new_with_buffer (body, strlen (body), CAMEL_STREAM_MEM_READ); - msg = camel_mime_message_new_with_session (camel_service_get_session (CAMEL_SERVICE (folder->parent_store))); + msg = camel_mime_message_new (); camel_data_wrapper_set_input_stream (CAMEL_DATA_WRAPPER (msg), msgstream); -- cgit v1.2.3