Commit fd84704d authored by Sébastien Wilmet's avatar Sébastien Wilmet

gtktexttypes: remove inline_byte_begins_utf8_char()

The function was used only in gtk_text_byte_begins_utf8_char().

https://bugzilla.gnome.org/show_bug.cgi?id=697048
parent 94f96cb2
......@@ -37,14 +37,8 @@ gtk_text_unknown_char_utf8_gtk_tests_only (void)
return _gtk_text_unknown_char_utf8;
}
static inline gboolean
inline_byte_begins_utf8_char (const gchar *byte)
{
return ((*byte & 0xC0) != 0x80);
}
gboolean
gtk_text_byte_begins_utf8_char (const gchar *byte)
{
return inline_byte_begins_utf8_char (byte);
return ((*byte & 0xC0) != 0x80);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment