aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-message.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>2000-02-10 05:09:31 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>2000-02-10 05:09:31 +0800
commit2088dd34013562ec6c051d2b7524e9167bd89a57 (patch)
treef434005bd7f61345080289d8079f87026f9d78b8 /camel/camel-mime-message.c
parent3bd58106efb22b78e6fbabe9307880338ae92746 (diff)
downloadgsoc2013-evolution-2088dd34013562ec6c051d2b7524e9167bd89a57.tar.gz
gsoc2013-evolution-2088dd34013562ec6c051d2b7524e9167bd89a57.tar.zst
gsoc2013-evolution-2088dd34013562ec6c051d2b7524e9167bd89a57.zip
set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE ---
2000-02-09 bertrand <Bertrand.Guiheneuf@aful.org> * camel/camel-mime-message.c (camel_mime_message_init): set the mime type to "mime/message". --- THIS IS NOT THE CONTENT TYPE --- * camel/camel-mime-body-part.c (camel_mime_body_part_init): set the mime type to "body-part". --- THIS IS NOT THE CONTENT TYPE --- * camel/camel-data-wrapper.c (camel_data_wrapper_set_mime_type): mime_type is const. (_set_input_stream): really set the input stream (_set_output_stream): really set the output stream various other typo fixes. * tests/ui-tests/message-browser.c: various typo fixes in the ctree construction. svn path=/trunk/; revision=1712
Diffstat (limited to 'camel/camel-mime-message.c')
-rw-r--r--camel/camel-mime-message.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index 18e407115f..ea7a983331 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -144,9 +144,11 @@ 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_mime_message->recipients = camel_recipient_table_new ();
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;
camel_mime_message->subject = NULL;