summary refs log tree commit diff stats
path: root/src/fe-gtk/fkeys.c
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2013-05-12 05:58:16 +0200
committerBerke Viktor <bviktor@hexchat.org>2013-05-12 05:58:16 +0200
commit171dbcdedf0712c3822bf619ea2fc4f329c0aef3 (patch)
tree0e638a9051aec638378887e309266e8fcacb77d0 /src/fe-gtk/fkeys.c
parentde819e12bf65fea45d0173e499026f3f5baba620 (diff)
Remove dead GLib code
Diffstat (limited to 'src/fe-gtk/fkeys.c')
-rw-r--r--src/fe-gtk/fkeys.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fe-gtk/fkeys.c b/src/fe-gtk/fkeys.c
index d1532e60..8a9a13c2 100644
--- a/src/fe-gtk/fkeys.c
+++ b/src/fe-gtk/fkeys.c
@@ -1637,10 +1637,6 @@ key_action_tab_comp (GtkWidget *t, GdkEventKey *entry, char *d1, char *d2,
 						strncat (buf, result, COMP_BUF - prefix_len);
 						cursor_pos = strlen (buf);
 						g_free(result);
-#if !GLIB_CHECK_VERSION(2,4,0)
-						g_utf8_validate (buf, -1, (const gchar **)&result);
-						(*result) = 0;
-#endif
 						if (postfix)
 						{
 							strcat (buf, " ");