[balsa/gmime3: 21/51] g_mime_parser_get_from_offset() has been renamed



commit 995b2b35ad08e507d317956158c29b09887cb47e
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date:   Fri Nov 22 09:17:16 2019 -0800

    g_mime_parser_get_from_offset() has been renamed
    
    to g_mime_parser_get_mbox_marker_offset().
    
    modified:   libbalsa/mailbox_mbox.c

 libbalsa/mailbox_mbox.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbalsa/mailbox_mbox.c b/libbalsa/mailbox_mbox.c
index adf128918..0a91c381f 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -472,7 +472,7 @@ parse_mailbox(LibBalsaMailboxMbox * mbox)
             g_mime_parser_init_with_stream(gmime_parser, mbox_stream);
             continue;
         }
-        msg_info.start = g_mime_parser_get_from_offset(gmime_parser);
+        msg_info.start = g_mime_parser_get_mbox_marker_offset(gmime_parser);
         msg_info.end   = g_mime_parser_tell(gmime_parser);
         if (msg_info.end <= msg_info.start
             || !(from = g_mime_parser_get_from(gmime_parser))) {
@@ -1673,7 +1673,7 @@ libbalsa_mailbox_mbox_sync(LibBalsaMailbox * mailbox, gboolean expunge)
         if (!mime_msg)
             /* Try to recover */
             continue;
-        msg_info->start = g_mime_parser_get_from_offset(gmime_parser);
+        msg_info.start = g_mime_parser_get_mbox_marker_offset(gmime_parser);
 
        /* Make sure we don't have offsets for any encapsulated headers. */
        if (!g_mime_object_get_header(GMIME_OBJECT(mime_msg), "Status"))


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