diff options
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r-- | composer/e-msg-composer-attachment-bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c index c37c9558a0..83c9088d07 100644 --- a/composer/e-msg-composer-attachment-bar.c +++ b/composer/e-msg-composer-attachment-bar.c @@ -619,7 +619,7 @@ attach_to_multipart (CamelMultipart *multipart, camel_mime_part_set_content_type (CAMEL_MIME_PART (part), attachment->mime_type); - content = CAMEL_DATA_WRAPPER (gtk_object_new (CAMEL_SIMPLE_DATA_WRAPPER_TYPE, + content = CAMEL_DATA_WRAPPER (gtk_object_new (CAMEL_DATA_WRAPPER_TYPE, NULL)); camel_data_wrapper_set_mime_type (content, attachment->mime_type); stream = camel_stream_fs_new_with_name (attachment->file_name, O_RDONLY, 0); |