[balsa/gmime3: 19/50] g_mime_parser_set_scan_from() has been replaced
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 19/50] g_mime_parser_set_scan_from() has been replaced
- Date: Fri, 31 Jan 2020 18:47:26 +0000 (UTC)
commit a3a59bfaa5262d2a00de2b97c4e256edb419e428
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Nov 22 09:13:02 2019 -0800
g_mime_parser_set_scan_from() has been replaced
by g_mime_parser_set_format().
modified: libbalsa/mailbox_imap.c
modified: libbalsa/mailbox_local.c
modified: libbalsa/mailbox_mbox.c
libbalsa/mailbox_imap.c | 2 +-
libbalsa/mailbox_local.c | 2 +-
libbalsa/mailbox_mbox.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libbalsa/mailbox_imap.c b/libbalsa/mailbox_imap.c
index 5f1c5a9bc..6ad559ba8 100644
--- a/libbalsa/mailbox_imap.c
+++ b/libbalsa/mailbox_imap.c
@@ -2173,7 +2173,7 @@ get_struct_from_cache(LibBalsaMailbox *mailbox, LibBalsaMessage *message,
mime_parser = g_mime_parser_new_with_stream(fstream);
g_object_unref(fstream);
- g_mime_parser_set_scan_from(mime_parser, FALSE);
+ g_mime_parser_set_format(mime_parser, GMIME_FORMAT_MESSAGE);
mime_msg = g_mime_parser_construct_message(mime_parser, libbalsa_parser_options());
g_object_unref(mime_parser);
diff --git a/libbalsa/mailbox_local.c b/libbalsa/mailbox_local.c
index 783e018d1..5f2d3918f 100644
--- a/libbalsa/mailbox_local.c
+++ b/libbalsa/mailbox_local.c
@@ -2079,7 +2079,7 @@ libbalsa_mailbox_local_get_mime_message(LibBalsaMailbox * mailbox,
return NULL;
mime_parser = g_mime_parser_new_with_stream(mime_stream);
- g_mime_parser_set_scan_from(mime_parser, FALSE);
+ g_mime_parser_set_format(mime_parser, GMIME_FORMAT_MESSAGE);
mime_message = g_mime_parser_construct_message(mime_parser, libbalsa_parser_options());
g_object_unref(mime_parser);
diff --git a/libbalsa/mailbox_mbox.c b/libbalsa/mailbox_mbox.c
index afa0dc664..03b5894ee 100644
--- a/libbalsa/mailbox_mbox.c
+++ b/libbalsa/mailbox_mbox.c
@@ -437,7 +437,7 @@ parse_mailbox(LibBalsaMailboxMbox * mbox)
unsigned msgno = mbox->msgno_2_msg_info->len;
gmime_parser = g_mime_parser_new_with_stream(mbox->gmime_stream);
- g_mime_parser_set_scan_from(gmime_parser, TRUE);
+ g_mime_parser_set_format(gmime_parser, GMIME_FORMAT_MESSAGE);
g_mime_parser_set_respect_content_length(gmime_parser, TRUE);
g_mime_parser_set_header_regex(gmime_parser,
"^Status|^X-Status|^MIME-Version",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]