[gtk+] gtktexttypes: remove inline_byte_begins_utf8_char()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtktexttypes: remove inline_byte_begins_utf8_char()
- Date: Mon, 1 Apr 2013 19:13:37 +0000 (UTC)
commit fd84704d94c93d963103ab2ba033285fe65b5faa
Author: Sébastien Wilmet <swilmet gnome org>
Date: Thu Mar 28 21:50:08 2013 +0100
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 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/gtk/gtktexttypes.c b/gtk/gtktexttypes.c
index 6513365..230ee7c 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]