From 3eb014f7223bded0e6c309764fbdb7fc8b559756 Mon Sep 17 00:00:00 2001 From: bertrand Date: Tue, 22 Jun 1999 16:12:27 +0000 Subject: moved all the content-type stuff here. (camel_data_wrapper_init): 1999-06-22 bertrand * camel/camel-data-wrapper.c (_get_content_type): moved all the content-type stuff here. (camel_data_wrapper_init): initialize the instance content-type field. * camel/camel-mime-part.c (_parse_header_pair): parse Content-Type stuff in header. (_write_to_stream): write the content type stuff to the stream. --- camel/camel-mime-part.h | 5 ----- 1 file changed, 5 deletions(-) (limited to 'camel/camel-mime-part.h') diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h index 8ab5fc152..eadf65ce6 100644 --- a/camel/camel-mime-part.h +++ b/camel/camel-mime-part.h @@ -58,7 +58,6 @@ typedef struct GString *encoding; GString *filename; GList *header_lines; - GMimeContentField *content_type_field; CamelDataWrapper *content; /* part real content */ @@ -89,8 +88,6 @@ typedef struct { GList * (*get_content_languages) (CamelMimePart *mime_part); void (*set_header_lines) (CamelMimePart *mime_part, GList *header_lines); GList * (*get_header_lines) (CamelMimePart *mime_part); - void (*set_content_type) (CamelMimePart *mime_part, GString *content_type); - GString * (*get_content_type) (CamelMimePart *mime_part); gboolean (*parse_header_pair) (CamelMimePart *mime_part, GString *header_name, GString *header_value); @@ -121,8 +118,6 @@ void camel_mime_part_set_content_languages (CamelMimePart *mime_part, GList *con GList *camel_mime_part_get_content_languages (CamelMimePart *mime_part); void camel_mime_part_set_header_lines (CamelMimePart *mime_part, GList *header_lines); GList *camel_mime_part_get_header_lines (CamelMimePart *mime_part); -void camel_mime_part_set_content_type (CamelMimePart *mime_part, GString *content_type); -static GString *camel_mime_part_get_content_type (CamelMimePart *mime_part); #ifdef __cplusplus } -- cgit v1.2.1