[evolution-mapi/wip/camel-more-gobject] Seal CamelDataWrapper properties



commit 0a210290725c7cfc442c816a31459e27ef31b72c
Author: Milan Crha <mcrha redhat com>
Date:   Wed Nov 2 19:40:06 2016 +0100

    Seal CamelDataWrapper properties

 src/libexchangemapi/e-mapi-mail-utils.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libexchangemapi/e-mapi-mail-utils.c b/src/libexchangemapi/e-mapi-mail-utils.c
index ff56b8e..c40a6d3 100644
--- a/src/libexchangemapi/e-mapi-mail-utils.c
+++ b/src/libexchangemapi/e-mapi-mail-utils.c
@@ -458,7 +458,7 @@ classify_attachments (EMapiConnection *conn,
                if (!filename || !*filename)
                        filename = e_mapi_util_find_array_propval (&attach->properties, PidTagAttachFilename);
                camel_mime_part_set_filename (part, filename);
-               camel_content_type_set_param (((CamelDataWrapper *) part)->mime_type, "name", filename);
+               camel_content_type_set_param (camel_data_wrapper_get_mime_type_field (CAMEL_DATA_WRAPPER 
(part)), "name", filename);
 
                if (is_apple) {
                        CamelMultipart *mp;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]