aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-mime-part.c
diff options
context:
space:
mode:
authorBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-03 16:29:15 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-08-03 16:29:15 +0800
commitbba2b0a352933d8aa8894fe1b7a8a5185378990f (patch)
tree8557eae5bfd3a04f06eea1d447eb45547f7eb5a2 /camel/camel-mime-part.c
parent80fc9140524e6fd492ccc8ca7d3bdaba65667178 (diff)
downloadgsoc2013-evolution-bba2b0a352933d8aa8894fe1b7a8a5185378990f.tar.gz
gsoc2013-evolution-bba2b0a352933d8aa8894fe1b7a8a5185378990f.tar.zst
gsoc2013-evolution-bba2b0a352933d8aa8894fe1b7a8a5185378990f.zip
Update logs and sync home/work versions.
* camel/camel-multipart.c (_read_part): use a stream to store the part instead of GString. * camel/camel-mime-part.c (camel_mime_part_set_text): set data wrapper content type to "text/plain". * camel/camel-stream-mem.c: * camel/camel-stream-mem.h: new memory buffer based stream. * camel/camel-stream-fs.c (_seek): implementation for file system based stream. * camel/camel-stream.c (camel_stream_seek): new method. * camel/camel-stream-fs.c (camel_stream_fs_class_init): pass CamelStreamFsClass instead of CamelStreamClass. svn path=/trunk/; revision=1069
Diffstat (limited to 'camel/camel-mime-part.c')
-rw-r--r--camel/camel-mime-part.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index 18c8b72be1..8a3637afa7 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -796,7 +796,6 @@ camel_mime_part_set_text (CamelMimePart *camel_mime_part, gchar *text)
}
if (text) {
simple_data_wrapper = camel_simple_data_wrapper_new ();
- //camel_mime_part->content = CAMEL_DATA_WRAPPER (simple_data_wrapper);
CAMEL_LOG_FULL_DEBUG ("CamelMimePart::set_text calling CamelSimpleDataWrapper:set_text with %d chars\n", strlen (text));
camel_data_wrapper_set_mime_type (CAMEL_DATA_WRAPPER (simple_data_wrapper), "text/plain");
camel_simple_data_wrapper_set_text ( simple_data_wrapper, text);