summaryrefslogtreecommitdiff
path: root/gtk/gtkimmulticontext.c
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2003-08-15 21:30:44 +0000
committerOwen Taylor <otaylor@src.gnome.org>2003-08-15 21:30:44 +0000
commitd270a00d21ce4a04e6a9d8c0cf0128a1ffe950c6 (patch)
treeff1a3af3bfd87e0b91170c27bed29b881df64941 /gtk/gtkimmulticontext.c
parent4254bdbb6777a9622333926162690cebfd400f13 (diff)
downloadgtk+-d270a00d21ce4a04e6a9d8c0cf0128a1ffe950c6.tar.gz
Improve Cedilla handling - based on a patch from Gustavo De Nardin,
Fri Aug 15 16:54:39 2003 Owen Taylor <otaylor@redhat.com> Improve Cedilla handling - based on a patch from Gustavo De Nardin, #111334 * modules/input/imcedilla.c po/POTFILES.in: Input method that produces C_WITH_CEDILLA rather than C_WITH_ACUTE for dead_acute+c combinations. Make this the default for fr and pt. * gtk/gtkimmulticontext.c (gtk_im_multicontext_get_slave): Use LC_CTYPE instead of LC_MESSAGES to pick the default input method. Fri Aug 15 17:00:19 2003 Owen Taylor <otaylor@redhat.com> * gtk/gtkimcontextsimple.c: Fix missing compose sequence for Multi_key+c+apostrophe.
Diffstat (limited to 'gtk/gtkimmulticontext.c')
-rw-r--r--gtk/gtkimmulticontext.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gtk/gtkimmulticontext.c b/gtk/gtkimmulticontext.c
index 66104e9cc2..cc29f71e0e 100644
--- a/gtk/gtkimmulticontext.c
+++ b/gtk/gtkimmulticontext.c
@@ -231,11 +231,8 @@ gtk_im_multicontext_get_slave (GtkIMMulticontext *multicontext)
{
const char *locale;
-#ifdef HAVE_LC_MESSAGES
- locale = setlocale (LC_MESSAGES, NULL);
-#else
locale = setlocale (LC_CTYPE, NULL);
-#endif
+
global_context_id = _gtk_im_module_get_default_context_id (locale);
}