aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
Diffstat (limited to 'composer/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 2ba6bbd55e..eab6dfca92 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -182,7 +182,7 @@ build_message (EMsgComposer *composer)
stream = camel_stream_mem_new_with_buffer (text,
strlen (text));
- cdw = camel_simple_data_wrapper_new ();
+ cdw = camel_data_wrapper_new ();
camel_data_wrapper_construct_from_stream (cdw, stream);
gtk_object_unref (GTK_OBJECT (stream));
camel_data_wrapper_set_mime_type (cdw, "text/html");