From 7f04720b1efe9baea8770813e85cb17cd600d077 Mon Sep 17 00:00:00 2001 From: bertrand Date: Wed, 16 Feb 2000 18:04:40 +0000 Subject: don't seek the begining of the substream. (_eos): fix eos condition 2000-02-16 bertrand * 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. svn path=/trunk/; revision=1798 --- camel/camel-multipart.h | 30 +++++++++++++++++++----------- 1 file changed, 19 insertions(+), 11 deletions(-) (limited to 'camel/camel-multipart.h') diff --git a/camel/camel-multipart.h b/camel/camel-multipart.h index 905bc82927..50b64b3ae0 100644 --- a/camel/camel-multipart.h +++ b/camel/camel-multipart.h @@ -84,17 +84,25 @@ GtkType camel_multipart_get_type (void); /* public methods */ -CamelMultipart *camel_multipart_new (); -void camel_multipart_add_part (CamelMultipart *multipart, CamelMimeBodyPart *part); -void camel_multipart_add_part_at (CamelMultipart *multipart, CamelMimeBodyPart *part, guint index); -void camel_multipart_remove_part (CamelMultipart *multipart, CamelMimeBodyPart *part); -CamelMimeBodyPart *camel_multipart_remove_part_at (CamelMultipart *multipart, guint index); -CamelMimeBodyPart *camel_multipart_get_part (CamelMultipart *multipart, guint index); -guint camel_multipart_get_number (CamelMultipart *multipart); -void camel_multipart_set_parent (CamelMultipart *multipart, CamelMimePart *parent); -CamelMimePart *camel_multipart_get_parent (CamelMultipart *multipart); -void camel_multipart_set_boundary (CamelMultipart *multipart, gchar *boundary); -const gchar *camel_multipart_get_boundary (CamelMultipart *multipart); +CamelMultipart * camel_multipart_new (void); +void camel_multipart_add_part (CamelMultipart *multipart, + CamelMimeBodyPart *part); +void camel_multipart_add_part_at (CamelMultipart *multipart, + CamelMimeBodyPart *part, + guint index); +void camel_multipart_remove_part (CamelMultipart *multipart, + CamelMimeBodyPart *part); +CamelMimeBodyPart * camel_multipart_remove_part_at (CamelMultipart *multipart, + guint index); +CamelMimeBodyPart * camel_multipart_get_part (CamelMultipart *multipart, + guint index); +guint camel_multipart_get_number (CamelMultipart *multipart); +void camel_multipart_set_parent (CamelMultipart *multipart, + CamelMimePart *parent); +CamelMimePart * camel_multipart_get_parent (CamelMultipart *multipart); +void camel_multipart_set_boundary (CamelMultipart *multipart, + gchar *boundary); +const gchar * camel_multipart_get_boundary (CamelMultipart *multipart); -- cgit