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-mime-body-part.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'camel/camel-mime-body-part.h') diff --git a/camel/camel-mime-body-part.h b/camel/camel-mime-body-part.h index d2ae4908fb..740ab64520 100644 --- a/camel/camel-mime-body-part.h +++ b/camel/camel-mime-body-part.h @@ -61,7 +61,8 @@ typedef struct { CamelMimePartClass parent_class; /* Virtual methods */ - void (*set_parent) (CamelMimeBodyPart *mime_body_part, CamelMultipart *multipart); + void (*set_parent) (CamelMimeBodyPart *mime_body_part, + CamelMultipart *multipart); const CamelMultipart * (*get_parent) (CamelMimeBodyPart *mime_body_part); } CamelMimeBodyPartClass; @@ -72,8 +73,9 @@ GtkType camel_mime_body_part_get_type (void); /* public methods */ -CamelMimeBodyPart *camel_mime_body_part_new (); -void camel_mime_body_part_set_parent (CamelMimeBodyPart *mime_body_part, CamelMultipart *multipart); +CamelMimeBodyPart * camel_mime_body_part_new (void); +void camel_mime_body_part_set_parent (CamelMimeBodyPart *mime_body_part, + CamelMultipart *multipart); const CamelMultipart *camel_mime_body_part_get_parent (CamelMimeBodyPart *mime_body_part); -- cgit v1.2.3