[balsa/gmime3: 31/49] g_mime_set_user_charsets() has been replaced
- From: Peter Bloomfield <peterb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [balsa/gmime3: 31/49] g_mime_set_user_charsets() has been replaced
- Date: Tue, 7 Jan 2020 02:10:41 +0000 (UTC)
commit b2e8a88649493f10c60c914e111737f87ec46d6d
Author: Peter Bloomfield <PeterBloomfield bellsouth net>
Date: Fri Nov 22 14:59:27 2019 -0800
g_mime_set_user_charsets() has been replaced
by g_mime_parser_options_set_fallback_charsets().
modified: libbalsa/misc.c
libbalsa/misc.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/libbalsa/misc.c b/libbalsa/misc.c
index 99fb3da5d..fce59112e 100644
--- a/libbalsa/misc.c
+++ b/libbalsa/misc.c
@@ -265,7 +265,8 @@ libbalsa_mktempdir (char **s)
}
/* libbalsa_set_fallback_codeset: sets the codeset for incorrectly
- * encoded characters. */
+ * encoded characters.
+ * Returns the previous codeset. */
static LibBalsaCodeset sanitize_fallback_codeset = WEST_EUROPE;
LibBalsaCodeset
libbalsa_set_fallback_codeset(LibBalsaCodeset codeset)
@@ -277,9 +278,10 @@ libbalsa_set_fallback_codeset(LibBalsaCodeset codeset)
NULL
};
- g_mime_set_user_charsets(charsets);
+ g_mime_parser_options_set_fallback_charsets(libbalsa_parser_options(), charsets);
sanitize_fallback_codeset = codeset;
+
return ret;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]