[balsa/wip/gmime3: 64/197] Do not use deprecated GMimePart method



commit d39e45215df4663f35c475e8d8666a4d07e86a62
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Mon Aug 28 14:51:31 2017 -0400

    Do not use deprecated GMimePart method
    
        * libbalsa/send.c (lb_create_pubkey_part):
        g_mime_part_set_content_object is deprecated in favor of
        g_mime_part_set_content.

 ChangeLog       |    7 +++++++
 libbalsa/send.c |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 008f4c1..4586e1f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2017-08-28  Peter Bloomfield  <pbloomfield bellsouth net>
+
+       * libbalsa/send.c (lb_create_pubkey_part):
+       g_mime_part_set_content_object is deprecated in favor of
+       g_mime_part_set_content.
+
+
 2017-08-22  Tony Nelson <tonynelson georgeanelson com>
 
        Fix https://bugzilla.redhat.com/show_bug.cgi?id=1483354,
diff --git a/libbalsa/send.c b/libbalsa/send.c
index 7c78065..e58ab12 100644
--- a/libbalsa/send.c
+++ b/libbalsa/send.c
@@ -1758,7 +1758,7 @@ lb_create_pubkey_part(LibBalsaMessage  *message,
            wrapper = g_mime_data_wrapper_new();
            g_mime_data_wrapper_set_stream(wrapper, stream);
            g_object_unref(stream);
-           g_mime_part_set_content_object(mime_part, wrapper);
+           g_mime_part_set_content(mime_part, wrapper);
            g_object_unref(wrapper);
        }
 


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