From b39cda14b7678b925a6e3e645b60fb9858fdfaf6 Mon Sep 17 00:00:00 2001 From: bertrand Date: Thu, 17 Feb 2000 15:19:04 +0000 Subject: revamped so that it uses the output stream of the data wrapper 2000-02-17 bertrand * camel/camel-formatter.c (handle_text_plain): revamped so that it uses the output stream of the data wrapper (handle_text_html): ditto. * camel/camel-simple-data-wrapper.h: * camel/camel-simple-data-wrapper.c (camel_simple_data_wrapper_new): use (void) instead of (). (_get_output_stream): simple implementation. A lot of small fixes so that the new parser scheme works properly. Simple implementation of the stream though. Changed vette-formatter files so that they work with the new scheme. The new parser is now in a usable state. Still needs some work but the infrastructure is here. /me is happy. svn path=/trunk/; revision=1822 --- camel/camel-mime-message.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'camel/camel-mime-message.c') diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c index ea7a983331..ffb94a0fb3 100644 --- a/camel/camel-mime-message.c +++ b/camel/camel-mime-message.c @@ -144,10 +144,12 @@ camel_mime_message_init (gpointer object, gpointer klass) { CamelMimeMessage *camel_mime_message = CAMEL_MIME_MESSAGE (object); - camel_data_wrapper_set_mime_type (CAMEL_DATA_WRAPPER (object), "mime/message"); + camel_data_wrapper_set_mime_type (CAMEL_DATA_WRAPPER (object), + "message/rfc822"); camel_mime_message->recipients = camel_recipient_table_new (); - camel_mime_message->flags = g_hash_table_new (g_strcase_hash, g_strcase_equal); + camel_mime_message->flags = + g_hash_table_new (g_strcase_hash, g_strcase_equal); camel_mime_message->received_date = NULL; camel_mime_message->sent_date = NULL; -- cgit