[balsa/gmime3: 42/72] g_mime_parser_get_from_offset() has been renamed



commit 90cb67e312f81fd4a987bb074ff79f2adb6aaa69
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 0f67d8ad5..ded259827 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -473,7 +473,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))) {
@@ -1674,7 +1674,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]