From 6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 28 Mar 2000 21:15:21 +0000 Subject: 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 --- camel/camel-seekable-substream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/camel-seekable-substream.c') diff --git a/camel/camel-seekable-substream.c b/camel/camel-seekable-substream.c index 321783b306..16b2f56e08 100644 --- a/camel/camel-seekable-substream.c +++ b/camel/camel-seekable-substream.c @@ -231,7 +231,7 @@ _init_with_seekable_stream_and_bounds (CamelSeekableSubstream *seekable_substre -CamelSeekableSubstream * +CamelStream * camel_seekable_substream_new_with_seekable_stream_and_bounds (CamelSeekableStream *parent_stream, guint32 inf_bound, gint64 sup_bound) @@ -246,7 +246,7 @@ camel_seekable_substream_new_with_seekable_stream_and_bounds (CamelSeekableStrea parent_stream, inf_bound, sup_bound); - return seekable_substream; + return CAMEL_STREAM (seekable_substream); } -- cgit v1.2.3