[balsa/gmime3: 37/49] g_mime_object_append_header() has a new argument



commit 37fc547bde8ae3e1b9745b676fde491378f151a7
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Nov 22 15:45:13 2019 -0800

    g_mime_object_append_header() has a new argument
    
    a charset for which we always pass NULL.

 libbalsa/send.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libbalsa/send.c b/libbalsa/send.c
index 779483ac4..0d2ac9379 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1533,7 +1533,7 @@ libbalsa_message_create_mime_message(LibBalsaMessage *message,
         tmp = internet_address_list_to_string(headers->dispnotify_to, NULL, TRUE);
         if (tmp != NULL) {
             g_mime_object_append_header(GMIME_OBJECT(mime_message),
-                                        "Disposition-Notification-To", tmp);
+                                        "Disposition-Notification-To", tmp, NULL);
             g_free(tmp);
         }
     }
@@ -1541,14 +1541,14 @@ libbalsa_message_create_mime_message(LibBalsaMessage *message,
     for (list = headers->user_hdrs; list; list = list->next) {
         gchar **pair = list->data;
         g_strchug(pair[1]);
-        g_mime_object_append_header(GMIME_OBJECT(mime_message), pair[0], pair[1]);
+        g_mime_object_append_header(GMIME_OBJECT(mime_message), pair[0], pair[1], NULL);
 #if DEBUG_USER_HEADERS
         printf("adding header '%s:%s'\n", pair[0], pair[1]);
 #endif
     }
 
     tmp = g_strdup_printf("Balsa %s", VERSION);
-    g_mime_object_append_header(GMIME_OBJECT(mime_message), "X-Mailer", tmp);
+    g_mime_object_append_header(GMIME_OBJECT(mime_message), "X-Mailer", tmp, NULL);
     g_free(tmp);
 
 #ifdef ENABLE_AUTOCRYPT
@@ -1561,7 +1561,7 @@ libbalsa_message_create_mime_message(LibBalsaMessage *message,
                g_object_unref(mime_message);
                return LIBBALSA_MESSAGE_CREATE_ERROR;
        }
-       g_mime_object_append_header(GMIME_OBJECT(mime_message), "Autocrypt", tmp);
+       g_mime_object_append_header(GMIME_OBJECT(mime_message), "Autocrypt", tmp, NULL);
        g_free(tmp);
     }
 #endif


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