diff options
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-mime-part.c | 2 | ||||
-rw-r--r-- | camel/camel-mime-part.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index dccb142d0e..702e7378c9 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,8 @@ +2002-11-07 Not Zed <NotZed@Ximian.com> + + * camel-mime-part.c (camel_mime_part_set_content_type): constify + the content_type. + 2002-11-07 Jeffrey Stedfast <fejj@ximian.com> * camel-i18n.h: Added. diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index b8e259b3e2..eb65dead4e 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -531,7 +531,7 @@ camel_mime_part_get_content_languages (CamelMimePart *mime_part) /* **** Content-Type: */ void -camel_mime_part_set_content_type (CamelMimePart *mime_part, gchar *content_type) +camel_mime_part_set_content_type (CamelMimePart *mime_part, const gchar *content_type) { camel_medium_set_header (CAMEL_MEDIUM (mime_part), "Content-Type", content_type); diff --git a/camel/camel-mime-part.h b/camel/camel-mime-part.h index e745f57a6a..c925643f24 100644 --- a/camel/camel-mime-part.h +++ b/camel/camel-mime-part.h @@ -113,7 +113,7 @@ void camel_mime_part_set_content_languages (CamelMimePart *mime_part, GList * const GList *camel_mime_part_get_content_languages (CamelMimePart *mime_part); /* FIXME: what about content-type parameters? what about major/minor parts? */ -void camel_mime_part_set_content_type (CamelMimePart *mime_part, gchar *content_type); +void camel_mime_part_set_content_type (CamelMimePart *mime_part, const gchar *content_type); CamelContentType *camel_mime_part_get_content_type (CamelMimePart *mime_part); const gchar * camel_mime_part_encoding_to_string (CamelMimePartEncodingType encoding); |