aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-17 23:19:04 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-17 23:19:04 +0800
commitb39cda14b7678b925a6e3e645b60fb9858fdfaf6 (patch)
treedec02fd77a7f312b4cd4ea8d63abb90fdfa4cd14 /camel/camel-mime-message.c
parentcf16aa4fb112337616d20f4f2f9c2512cbe5e82f (diff)
downloadgsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.tar
gsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.tar.gz
gsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.tar.bz2
gsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.tar.lz
gsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.tar.xz
gsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.tar.zst
gsoc2013-evolution-b39cda14b7678b925a6e3e645b60fb9858fdfaf6.zip
revamped so that it uses the output stream of the data wrapper
2000-02-17 bertrand <Bertrand.Guiheneuf@aful.org> * 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
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r--camel/camel-mime-message.c6
1 files changed, 4 insertions, 2 deletions
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;