aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-seekable-substream.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-seekable-substream.c
parentc7ae879700164da8cca08620b8ee8ab745dfb407 (diff)
downloadgsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar
gsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar.gz
gsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar.bz2
gsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar.lz
gsoc2013-evolution-6bf6ad161323e20be3e1aef847aeaeb3c1f1f6f6.tar.xz
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-seekable-substream.c')
-rw-r--r--camel/camel-seekable-substream.c4
1 files changed, 2 insertions, 2 deletions
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);
}