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
This commit is contained in:
Sébastien Wilmet 2013-03-28 21:50:08 +01:00
parent 94f96cb2f9
commit fd84704d94

View File

@ -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);
}