From 3b74bfce983c7dd121bd2a66c2b760dee0ee1625 Mon Sep 17 00:00:00 2001 From: Larry Ewing Date: Sat, 6 Oct 2001 17:27:37 +0000 Subject: remove the test condition and always work form the locale not he the font. 2001-10-06 Larry Ewing * gal/widgets/e-unicode.c (e_utf8_from_gtk_event_key): remove the test condition and always work form the locale not he the font. This has been tested and verified with owen. svn path=/trunk/; revision=13487 --- widgets/misc/e-unicode.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/widgets/misc/e-unicode.c b/widgets/misc/e-unicode.c index a0101af3d3..3e3344d37c 100644 --- a/widgets/misc/e-unicode.c +++ b/widgets/misc/e-unicode.c @@ -195,17 +195,7 @@ e_utf8_from_gtk_event_key (GtkWidget *widget, guint keyval, const gchar *string) gint unilen; if (keyval == GDK_VoidSymbol) { - char *use_locale = getenv ("E_UTF8_IM_USE_LOCALE"); - - /* FIXME This condition is meant for debugging xim input and should - * be removed once testing is done - */ - if (use_locale) { - utf = e_utf8_from_locale_string (string); - } else { - utf = e_utf8_from_gtk_string (widget, string); - } - + utf = e_utf8_from_locale_string (string); } else { unival = gdk_keyval_to_unicode (keyval); -- cgit v1.2.3