diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-09-19 03:01:13 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-09-19 03:01:13 +0800 |
commit | 21c57eeb74e30e5c2a42c066889b7ca6cd874d74 (patch) | |
tree | af4a43b7298a4f1a84ead3398e826a4125ccc722 /composer/e-msg-composer-attachment-bar.c | |
parent | e0068343b1d29bb31f08bbe2900306dd1c180d1b (diff) | |
download | gsoc2013-evolution-21c57eeb74e30e5c2a42c066889b7ca6cd874d74.tar.gz gsoc2013-evolution-21c57eeb74e30e5c2a42c066889b7ca6cd874d74.tar.zst gsoc2013-evolution-21c57eeb74e30e5c2a42c066889b7ca6cd874d74.zip |
updated for CamelTransferEncoding namespace changes
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer-attachment-bar.c: updated for
CamelTransferEncoding namespace changes
* e-msg-composer.c: updated for CamelTransferEncoding namespace
changes
svn path=/trunk/; revision=22616
Diffstat (limited to 'composer/e-msg-composer-attachment-bar.c')
-rw-r--r-- | composer/e-msg-composer-attachment-bar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/composer/e-msg-composer-attachment-bar.c b/composer/e-msg-composer-attachment-bar.c index 479fd99871..223c1e5fd9 100644 --- a/composer/e-msg-composer-attachment-bar.c +++ b/composer/e-msg-composer-attachment-bar.c @@ -726,7 +726,7 @@ attach_to_multipart (CamelMultipart *multipart, if (!CAMEL_IS_MULTIPART (content)) { if (camel_content_type_is (content_type, "text", "*")) { - CamelMimePartEncodingType encoding; + CamelTransferEncoding encoding; CamelStreamFilter *filter_stream; CamelMimeFilterBestenc *bestenc; CamelStream *stream; @@ -747,7 +747,7 @@ attach_to_multipart (CamelMultipart *multipart, encoding = camel_mime_filter_bestenc_get_best_encoding (bestenc, CAMEL_BESTENC_8BIT); camel_mime_part_set_encoding (attachment->body, encoding); - if (encoding == CAMEL_MIME_PART_ENCODING_7BIT) { + if (encoding == CAMEL_TRANSFER_ENCODING_7BIT) { /* the text fits within us-ascii so this is safe */ /* FIXME: check that this isn't iso-2022-jp? */ default_charset = "us-ascii"; @@ -770,7 +770,7 @@ attach_to_multipart (CamelMultipart *multipart, camel_object_unref (bestenc); } else if (!CAMEL_IS_MIME_MESSAGE (content)) { - camel_mime_part_set_encoding (attachment->body, CAMEL_MIME_PART_ENCODING_BASE64); + camel_mime_part_set_encoding (attachment->body, CAMEL_TRANSFER_ENCODING_BASE64); } } |