diff options
Diffstat (limited to 'camel/providers/MH/camel-mh-folder.c')
-rw-r--r-- | camel/providers/MH/camel-mh-folder.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/providers/MH/camel-mh-folder.c b/camel/providers/MH/camel-mh-folder.c index 86bbab46ba..f4ff8f305a 100644 --- a/camel/providers/MH/camel-mh-folder.c +++ b/camel/providers/MH/camel-mh-folder.c @@ -508,7 +508,7 @@ _get_message (CamelFolder *folder, gint number, CamelException *ex) if (input_stream != NULL) { #warning use session field here - message = camel_mime_message_new_with_session ( (CamelSession *)NULL); + message = camel_mime_message_new (); camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream); gtk_object_unref (GTK_OBJECT (input_stream)); message->message_number = number; @@ -785,7 +785,7 @@ _get_message_by_uid (CamelFolder *folder, const gchar *uid, CamelException *ex) if (input_stream != NULL) { #warning use session field here - message = camel_mime_message_new_with_session ( (CamelSession *)NULL); + message = camel_mime_message_new (); camel_data_wrapper_construct_from_stream ( CAMEL_DATA_WRAPPER (message), input_stream); gtk_object_unref (GTK_OBJECT (input_stream)); |