From fd84704d94c93d963103ab2ba033285fe65b5faa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Wilmet?= Date: Thu, 28 Mar 2013 21:50:08 +0100 Subject: [PATCH] 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 --- gtk/gtktexttypes.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/gtk/gtktexttypes.c b/gtk/gtktexttypes.c index 6513365352..230ee7c0b7 100644 --- a/gtk/gtktexttypes.c +++ b/gtk/gtktexttypes.c @@ -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); }