[gedit] Revert "No longer use gedit_utils_make_valid_utf8()"
- From: Michael Catanzaro <mcatanzaro src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Revert "No longer use gedit_utils_make_valid_utf8()"
- Date: Wed, 6 Nov 2019 19:03:14 +0000 (UTC)
commit 0bb9fc2a94cf5857257a274a46f341e6d5d7a973
Author: Michael Catanzaro <mcatanzaro gnome org>
Date: Wed Nov 6 13:02:44 2019 -0600
Revert "No longer use gedit_utils_make_valid_utf8()"
This reverts commit eda6fc9c2dfdebe8ce2e8259d63e2ed292b38238.
gedit/gedit-io-error-info-bar.c | 2 +-
gedit/gedit-utils.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gedit/gedit-io-error-info-bar.c b/gedit/gedit-io-error-info-bar.c
index 382dd5c07..729d36397 100644
--- a/gedit/gedit-io-error-info-bar.c
+++ b/gedit/gedit-io-error-info-bar.c
@@ -235,7 +235,7 @@ parse_gio_error (gint code,
gchar *host_markup;
gchar *host_name;
- host_name = g_utf8_make_valid (hn, -1);
+ host_name = gedit_utils_make_valid_utf8 (hn);
g_free (hn);
host_markup = g_markup_escape_text (host_name, -1);
diff --git a/gedit/gedit-utils.c b/gedit/gedit-utils.c
index 2a94fb2fe..defb565e7 100644
--- a/gedit/gedit-utils.c
+++ b/gedit/gedit-utils.c
@@ -771,7 +771,7 @@ gedit_utils_basename_for_display (GFile *location)
if (hn != NULL)
{
- hn_utf8 = g_utf8_make_valid (hn, -1);
+ hn_utf8 = gedit_utils_make_valid_utf8 (hn);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]