aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/camel-mime-message.c4
2 files changed, 6 insertions, 4 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 3403f72f0a..bdb3eb53c9 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,9 @@
+2004-03-16 Not Zed <NotZed@Ximian.com>
+
+ * camel-mime-message.c (camel_mime_message_init): rever previous
+ patch. We don't want to set the default mime/type, it'll break
+ stuff.
+
2004-03-15 Not Zed <NotZed@Ximian.com>
* providers/local/camel-mbox-store.c (delete_folder): same as
diff --git a/camel/camel-mime-message.c b/camel/camel-mime-message.c
index 16b58d991a..8807e02737 100644
--- a/camel/camel-mime-message.c
+++ b/camel/camel-mime-message.c
@@ -129,10 +129,6 @@ camel_mime_message_init (gpointer object, gpointer klass)
g_hash_table_insert(mime_message->recipients, recipient_names[i], camel_internet_address_new());
}
- if (((CamelDataWrapper *)mime_message)->mime_type)
- camel_content_type_unref(((CamelDataWrapper *)mime_message)->mime_type);
- ((CamelDataWrapper *)mime_message)->mime_type = camel_content_type_new("message", "rfc822");
-
mime_message->subject = NULL;
mime_message->reply_to = NULL;
mime_message->from = NULL;