aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorNot Zed <NotZed@HelixCode.com>2000-10-12 21:38:51 +0800
committerMichael Zucci <zucchi@src.gnome.org>2000-10-12 21:38:51 +0800
commit6c337e9ea0623b48688c018973d35823dde21f60 (patch)
tree395633c625a76dd5801e9aff79105f4120688ddb /camel/camel-mime-part.c
parent4e7e9477148d8558b48c7b3a10831c73e0e4b326 (diff)
downloadgsoc2013-evolution-6c337e9ea0623b48688c018973d35823dde21f60.tar.gz
gsoc2013-evolution-6c337e9ea0623b48688c018973d35823dde21f60.tar.zst
gsoc2013-evolution-6c337e9ea0623b48688c018973d35823dde21f60.zip
Removed temp_message_buffer, and content_input_stream fields which seem to
2000-10-11 Not Zed <NotZed@HelixCode.com> * camel-mime-part.h (struct _CamelMimePart): Removed temp_message_buffer, and content_input_stream fields which seem to have come from nowhere, and are unused. * camel-mime-utils.c: Added a note about touching this file. Nobody is to touch it without asking me first. That goes for you too Jeff. (header_decode_text): In what way is this broken? 2000-10-10 Not Zed <NotZed@HelixCode.com> * providers/imap/camel-imap-folder.c (imap_get_summary_internal): Fix camel_summary_* function rename (imap_get_message_info_internal): Likewise. * camel-mime-parser.c (camel_mime_parser_finalise): Fixed a spelling mistake. * camel-folder-summary.c (camel_summary_format_address): Uh, why do we encode and then decode here ... sigh. This is not the way to fix this. (camel_folder_summary_format_address): Renamed to a proper name, this was only supposed to be a private function. (camel_folder_summary_format_string): Likewise. Oh i see why it was made public, code reuse by cut & paste. Joy. svn path=/trunk/; revision=5881
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 21deb4c5f9..e829b28834 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -133,9 +133,6 @@ camel_mime_part_init (gpointer object, gpointer klass)
camel_mime_part->content_MD5 = NULL;
camel_mime_part->content_languages = NULL;
camel_mime_part->encoding = CAMEL_MIME_PART_ENCODING_DEFAULT;
-
- camel_mime_part->temp_message_buffer = NULL;
- camel_mime_part->content_input_stream = NULL;
}
@@ -150,10 +147,8 @@ camel_mime_part_finalize (CamelObject *object)
string_list_free (mime_part->content_languages);
header_disposition_unref(mime_part->disposition);
- if (mime_part->content_type) gmime_content_field_unref (mime_part->content_type);
- if (mime_part->temp_message_buffer) g_byte_array_free (mime_part->temp_message_buffer, TRUE);
-
- if (mime_part->content_input_stream) camel_object_unref (CAMEL_OBJECT (mime_part->content_input_stream));
+ if (mime_part->content_type)
+ gmime_content_field_unref (mime_part->content_type);
header_raw_clear(&mime_part->headers);
}