[balsa/gmime3: 32/49] g_mime_object_new_type() has a new first argument



commit 2587c3fd303152ef22fe1e4ddc7a448dcee72205
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 e6f32ea97..974bea188 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]