forked from AuroraMiddleware/gtk
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:
parent
94f96cb2f9
commit
fd84704d94
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user