From ffb7357c4201f9e02c54d712267856c5a313e6cd Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 1 Mar 2002 20:30:15 +0000 Subject: Reverted my pgp/mime fixes here too. 2002-03-01 Jeffrey Stedfast * camel-mime-part-utils.c (camel_mime_part_construct_content_from_parser): Reverted my pgp/mime fixes here too. * camel-mime-part.c (write_to_stream): Removed my pgp/mime raw stream hack, this is causing problems such as some messages to not displaying, view->source not working at all, etc. svn path=/trunk/; revision=15883 --- camel/camel-mime-part.c | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'camel/camel-mime-part.c') diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index c7b21e460d..614ba186b8 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -156,7 +156,6 @@ camel_mime_part_init (gpointer object, gpointer klass) CamelMimePart *camel_mime_part = CAMEL_MIME_PART (object); camel_mime_part->content_type = header_content_type_new ("text", "plain"); - camel_mime_part->stream = NULL; camel_mime_part->description = NULL; camel_mime_part->disposition = NULL; camel_mime_part->content_id = NULL; @@ -172,9 +171,6 @@ camel_mime_part_finalize (CamelObject *object) { CamelMimePart *mime_part = CAMEL_MIME_PART (object); - if (mime_part->stream) - camel_object_unref (CAMEL_OBJECT (mime_part->stream)); - g_free (mime_part->description); g_free (mime_part->content_id); g_free (mime_part->content_MD5); @@ -671,18 +667,6 @@ write_to_stream(CamelDataWrapper *data_wrapper, CamelStream *stream) if (count == -1) return -1; total += count; - -#define SAVE_RAW_MIME_STREAM_FOR_SECURE_MIME_SIGNATURES -#ifdef SAVE_RAW_MIME_STREAM_FOR_SECURE_MIME_SIGNATURES - if (mp->stream) { - count = camel_stream_write_to_stream (mp->stream, stream); - camel_stream_reset (mp->stream); - if (count == -1) - return -1; - - return total + count; - } -#endif /* SAVE_RAW_MIME_STREAM_FOR_SECURE_MIME_SIGNATURES */ content = camel_medium_get_content_object(medium); if (content) { -- cgit v1.2.3