[balsa/gmime3: 17/48] 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: 17/48] g_mime_parser_set_scan_from() has been replaced
- Date: Wed, 18 Dec 2019 14:32:28 +0000 (UTC)
commit 38638c883e7d8c7944647feaa21c40859ece4680
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 78f407bf8..61e4961fe 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 5f4b74155..90707f922 100644
--- a/libbalsa/mailbox_local.c
+++ b/libbalsa/mailbox_local.c
@@ -2070,7 +2070,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 eb638d664..0f67d8ad5 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]