From b268196c1cc77b65645661b1cab47a8211d69ec9 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 6 Mar 2003 15:15:41 +0000 Subject: Get rid of the const return - it mismatches the prototype and we don't 2003-03-06 Jeffrey Stedfast * camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the const return - it mismatches the prototype and we don't need it anyway. Fixes bug #39173. svn path=/trunk/; revision=20191 --- camel/ChangeLog | 6 ++++++ camel/camel-mime-part.c | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'camel') diff --git a/camel/ChangeLog b/camel/ChangeLog index 86913acb7e..9c3ceb09a0 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,3 +1,9 @@ +2003-03-06 Jeffrey Stedfast + + * camel-mime-part.c (camel_mime_part_get_encoding): Get rid of the + const return - it mismatches the prototype and we don't need it + anyway. Fixes bug #39173. + 2003-03-06 Jeffrey Stedfast Fixes for bug #39170 diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c index c33a351413..11a024218b 100644 --- a/camel/camel-mime-part.c +++ b/camel/camel-mime-part.c @@ -502,7 +502,7 @@ camel_mime_part_set_encoding (CamelMimePart *mime_part, "Content-Transfer-Encoding", text); } -const CamelMimePartEncodingType +CamelMimePartEncodingType camel_mime_part_get_encoding (CamelMimePart *mime_part) { return mime_part->encoding; -- cgit v1.2.3