buf = gtk_text_buffer_new (NULL);
stream = TNY_STREAM (tny_gtk_text_buffer_stream_new (buf));
tny_stream_reset (stream);
- tny_mime_part_decode_to_stream (body, stream);
+ tny_mime_part_decode_to_stream (body, stream, NULL);
tny_stream_reset (stream);
g_object_unref (G_OBJECT(stream));
/* Construct MIME part */
tny_stream_reset (text_body_stream);
- tny_mime_part_construct_from_stream (part, text_body_stream, content_type);
+ tny_mime_part_construct (part, text_body_stream, content_type, "7bit");
tny_stream_reset (text_body_stream);
/* Clean */