aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog10
-rw-r--r--mail/em-inline-filter.c16
-rw-r--r--mail/em-inline-filter.h4
-rw-r--r--mail/mail-ops.c2
4 files changed, 21 insertions, 11 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 081419944d..8483ed60ac 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,15 @@
2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
+ * em-inline-filter.c: updated for CamelTransferEncoding namespace
+ changes
+
+ * em-inline-filter.h: updated for CamelTransferEncoding namespace
+ changes
+
+ * mail-ops.c: updated for CamelTransferEncoding namespace changes
+
+2003-09-18 Jeffrey Stedfast <fejj@ximian.com>
+
* component-factory.c: updated for camel namespace changes
* em-folder-view.c: updated for camel namespace changes
diff --git a/mail/em-inline-filter.c b/mail/em-inline-filter.c
index efaa09baf5..3a38771efc 100644
--- a/mail/em-inline-filter.c
+++ b/mail/em-inline-filter.c
@@ -100,19 +100,19 @@ enum {
};
const struct {
const char *name;
- CamelMimePartEncodingType type;
+ CamelTransferEncoding type;
} emif_types[] = {
- { "text/plain", CAMEL_MIME_PART_ENCODING_DEFAULT, },
- { "application/octet-stream", CAMEL_MIME_PART_ENCODING_UUENCODE, },
- { "application/mac-binhex40", CAMEL_MIME_PART_ENCODING_7BIT, },
- { "application/postscript", CAMEL_MIME_PART_ENCODING_7BIT, },
- { "text/plain", CAMEL_MIME_PART_ENCODING_7BIT, },
+ { "text/plain", CAMEL_TRANSFER_ENCODING_DEFAULT, },
+ { "application/octet-stream", CAMEL_TRANSFER_ENCODING_UUENCODE, },
+ { "application/mac-binhex40", CAMEL_TRANSFER_ENCODING_7BIT, },
+ { "application/postscript", CAMEL_TRANSFER_ENCODING_7BIT, },
+ { "text/plain", CAMEL_TRANSFER_ENCODING_7BIT, },
};
static void
emif_add_part(EMInlineFilter *emif, const char *data, int len)
{
- CamelMimePartEncodingType type;
+ CamelTransferEncoding type;
CamelStream *mem;
CamelDataWrapper *dw;
CamelMimePart *part;
@@ -309,7 +309,7 @@ emif_reset(CamelMimeFilter *f)
* Return value:
**/
EMInlineFilter *
-em_inline_filter_new(CamelMimePartEncodingType base_encoding)
+em_inline_filter_new(CamelTransferEncoding base_encoding)
{
EMInlineFilter *emif;
diff --git a/mail/em-inline-filter.h b/mail/em-inline-filter.h
index 8efc8454a5..0afcdfa0b5 100644
--- a/mail/em-inline-filter.h
+++ b/mail/em-inline-filter.h
@@ -41,7 +41,7 @@ typedef struct _EMInlineFilter {
int state;
- CamelMimePartEncodingType base_encoding;
+ CamelTransferEncoding base_encoding;
GByteArray *data;
char *filename;
GSList *parts;
@@ -52,7 +52,7 @@ typedef struct _EMInlineFilterClass {
} EMInlineFilterClass;
CamelType em_inline_filter_get_type(void);
-EMInlineFilter *em_inline_filter_new(CamelMimePartEncodingType base_encoding);
+EMInlineFilter *em_inline_filter_new(CamelTransferEncoding base_encoding);
struct _CamelMultipart *em_inline_filter_get_multipart(EMInlineFilter *emif);
#ifdef __cplusplus
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index 605dce794e..f68e8b9d20 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -1927,7 +1927,7 @@ save_prepare_part (CamelMimePart *mime_part)
/* We want to save textual parts as 8bit instead of encoded */
type = camel_data_wrapper_get_mime_type_field (wrapper);
if (camel_content_type_is (type, "text", "*"))
- camel_mime_part_set_encoding (mime_part, CAMEL_MIME_PART_ENCODING_8BIT);
+ camel_mime_part_set_encoding (mime_part, CAMEL_TRANSFER_ENCODING_8BIT);
}
}
}