[evolution-data-server] Bug #531912 - Mail inline parser doesn't always work
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Bug #531912 - Mail inline parser doesn't always work
- Date: Fri, 14 May 2010 14:29:39 +0000 (UTC)
commit e9ed2b6992baf50c65f9be494b0a646c35ecdb78
Author: Milan Crha <mcrha redhat com>
Date: Fri May 14 16:29:19 2010 +0200
Bug #531912 - Mail inline parser doesn't always work
camel/camel-gpg-context.c | 2 +-
camel/camel-mime-part.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/camel/camel-gpg-context.c b/camel/camel-gpg-context.c
index af1ec59..23a02fc 100644
--- a/camel/camel-gpg-context.c
+++ b/camel/camel-gpg-context.c
@@ -1880,7 +1880,7 @@ gpg_decrypt (CamelCipherContext *context,
return NULL;
}
- ct = camel_mime_part_get_content_type((CamelMimePart *)content);
+ ct = camel_data_wrapper_get_mime_type_field (content);
/* Encrypted part (using our fake mime type) or PGP/Mime multipart */
if (camel_content_type_is(ct, "multipart", "encrypted")) {
mp = (CamelMultipart *) camel_medium_get_content ((CamelMedium *) ipart);
diff --git a/camel/camel-mime-part.c b/camel/camel-mime-part.c
index af0823b..80ce93f 100644
--- a/camel/camel-mime-part.c
+++ b/camel/camel-mime-part.c
@@ -1219,7 +1219,7 @@ camel_mime_part_get_content_type (CamelMimePart *mime_part)
{
g_return_val_if_fail (CAMEL_IS_MIME_PART (mime_part), NULL);
- return ((CamelDataWrapper *) mime_part)->mime_type;
+ return camel_data_wrapper_get_mime_type_field ((CamelDataWrapper *) mime_part);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]