aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-03-16 00:39:16 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-03-16 00:39:16 +0800
commit58b352c98afda13fb05ea5a491a5ebf256050c19 (patch)
treef8963b21c8c06a4b3940c775b2e7a26c059360ec
parent1758c9fe42a45391d8d9fa084304fc6d4d054369 (diff)
downloadgsoc2013-evolution-58b352c98afda13fb05ea5a491a5ebf256050c19.tar.gz
gsoc2013-evolution-58b352c98afda13fb05ea5a491a5ebf256050c19.tar.zst
gsoc2013-evolution-58b352c98afda13fb05ea5a491a5ebf256050c19.zip
rever previous patch. We don't want to set the default mime/type, it'll
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. svn path=/trunk/; revision=25074
-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;