aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-multipart.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-03-29 05:15:21 +0800
committerDan Winship <danw@src.gnome.org>2000-03-29 05:15:21 +0800
commit6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6 (patch)
tree3730ac3845780625b3abfbaaf43d5dc835f7d29f /camel/camel-multipart.c
parentc7ae879700164da8cca08620b8ee8ab745dfb407 (diff)
downloadgsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar.gz
gsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar.zst
gsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.zip
make this return a CamelStream rather than a CamelSeekableSubstream,
* camel-seekable-substream.c (camel_seekable_substream_new_with_seekable_stream_and_bounds): make this return a CamelStream rather than a CamelSeekableSubstream, because that's the way Gtk objects tend to work. svn path=/trunk/; revision=2218
Diffstat (limited to 'camel/camel-multipart.c')
-rw-r--r--camel/camel-multipart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/camel/camel-multipart.c b/camel/camel-multipart.c
index f6bde0e496..f20d6ae26d 100644
--- a/camel/camel-multipart.c
+++ b/camel/camel-multipart.c
@@ -558,10 +558,10 @@ my_set_input_stream (CamelDataWrapper *data_wrapper, CamelStream *stream)
real_boundary_line,
end_boundary_line,
&part_end);
- body_part_input_stream =
+ body_part_input_stream = CAMEL_SEEKABLE_SUBSTREAM (
camel_seekable_substream_new_with_seekable_stream_and_bounds (seekable_stream,
part_begining,
- part_end);
+ part_end));
CAMEL_LOG_FULL_DEBUG ("CamelMultipart::set_input_stream, use a substream,\n"
"\tbegining = %d\n"
"\tend = %d\n",part_begining, part_end);