aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ui-tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui-tests')
-rw-r--r--tests/ui-tests/message-browser.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/ui-tests/message-browser.c b/tests/ui-tests/message-browser.c
index 35c71580e7..8f7127905c 100644
--- a/tests/ui-tests/message-browser.c
+++ b/tests/ui-tests/message-browser.c
@@ -210,8 +210,7 @@ filename_to_camel_msg (gchar* filename)
if (!input_stream)
return NULL;
- message = camel_mime_message_new_with_session (
- (CamelSession *)NULL);
+ message = camel_mime_message_new ();
camel_data_wrapper_set_input_stream (
CAMEL_DATA_WRAPPER (message), input_stream);