[balsa/gmime3: 39/56] g_mime_object_new_type() has a new first argument



commit 78fd8e70e1ba0da424353f7934f678ea0c2ab140
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Nov 22 15:03:15 2019 -0800

    g_mime_object_new_type() has a new first argument
    
    which we pass as libbalsa_parser_options().

 libbalsa/send.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/libbalsa/send.c b/libbalsa/send.c
index 9bfbe8e95..5e1bc7e89 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1287,7 +1287,8 @@ libbalsa_message_create_mime_message(LibBalsaMessage *message,
             if (body->attach_mode == LIBBALSA_ATTACH_AS_EXTBODY) {
                 GMimeContentType *content_type =
                     g_mime_content_type_new("message", "external-body");
-                mime_part = g_mime_object_new_type("message", "external-body");
+                mime_part = g_mime_object_new_type(libbalsa_parser_options,
+                                                   "message", "external-body");
                 g_mime_object_set_content_type(mime_part, content_type);
                 g_mime_part_set_content_encoding(GMIME_PART(mime_part),
                                                  GMIME_CONTENT_ENCODING_7BIT);


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