don't seek the begining of the substream. (_eos): fix eos condition
authorbertrand <Bertrand.Guiheneuf@aful.org>
Wed, 16 Feb 2000 18:04:40 +0000 (18:04 +0000)
committerBertrand Guiheneuf <bertrand@src.gnome.org>
Wed, 16 Feb 2000 18:04:40 +0000 (18:04 +0000)
commita16b927f35894a0c447445df180a29e24e0169d7
treecee2d9630bf28f8f2036b5b1684e82a81769b1c1
parent2b01eabb15ac0c58c1d2b1f8c806a302d4b32cd0
don't seek the begining of the substream. (_eos): fix eos condition

2000-02-16  bertrand  <Bertrand.Guiheneuf@aful.org>

* camel/camel-seekable-substream.c (_set_bounds): don't
seek the begining of the substream.
(_eos): fix eos condition testing.
(_finalize): unref parent stream
(_init_with_seekable_stream_and_bounds): ref parent stream

* camel/gstring-util.c (g_string_equal_for_hash):
(g_string_equal_for_glist): return type is int.

* camel/camel.h:
* camel/camel.c (camel_init): use (void)
instead of ().

A lot of other small changes to make the set_input_stream
scheme work. It actually works.
18 files changed:
camel/camel-folder-pt-proxy.c
camel/camel-folder-pt-proxy.h
camel/camel-mime-body-part.c
camel/camel-mime-body-part.h
camel/camel-mime-part-utils.c
camel/camel-mime-part.c
camel/camel-multipart.c
camel/camel-multipart.h
camel/camel-seekable-substream.c
camel/camel-store.h
camel/camel-stream-fs.c
camel/camel-thread-proxy.c
camel/camel-thread-proxy.h
camel/camel.c
camel/camel.h
camel/gstring-util.c
camel/providers/mbox/Makefile.am
camel/string-utils.c