mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-11-09 04:23:19 +01:00
Make g_utf8_make_valid public
Based on a patch by Simon van der Linden and rebased onto current GLib, with improved documentation loosely based on Telepathy's tp_utf8_make_valid(). Signed-off-by: Simon McVittie <simon.mcvittie@collabora.co.uk> Bug: https://bugzilla.gnome.org/show_bug.cgi?id=591603 Bug: https://bugzilla.gnome.org/show_bug.cgi?id=610969 Reviewed-by: Colin Walters <walters@verbum.org>
This commit is contained in:
committed by
Simon McVittie
parent
01bfa16986
commit
c46dbd4752
@@ -423,7 +423,7 @@ set_error (GMarkupParseContext *context,
|
||||
/* Make sure that the GError message is valid UTF-8
|
||||
* even if it is complaining about invalid UTF-8 in the markup
|
||||
*/
|
||||
s_valid = _g_utf8_make_valid (s);
|
||||
s_valid = g_utf8_make_valid (s);
|
||||
set_error_literal (context, error, code, s);
|
||||
|
||||
g_free (s);
|
||||
|
||||
Reference in New Issue
Block a user