Merge branch 'wip/mjog/utf8-norm-missing-nullable-annotation' into 'master'

g_utf8_normalize: Doc comment return missing nullable annotation

See merge request GNOME/glib!953
This commit is contained in:
Philip Withnall 2019-06-29 08:44:15 +00:00
commit f7f267522d

View File

@ -521,9 +521,9 @@ _g_utf8_normalize_wc (const gchar *str,
* a legacy encoding or pass it to a system with * a legacy encoding or pass it to a system with
* less capable Unicode handling. * less capable Unicode handling.
* *
* Returns: a newly allocated string, that is the * Returns: (nullable): a newly allocated string, that
* normalized form of @str, or %NULL if @str is not * is the normalized form of @str, or %NULL if @str
* valid UTF-8. * is not valid UTF-8.
**/ **/
gchar * gchar *
g_utf8_normalize (const gchar *str, g_utf8_normalize (const gchar *str,