summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorTor Lillqvist <tml@novell.com>2005-02-03 20:51:48 +0000
committerTor Lillqvist <tml@src.gnome.org>2005-02-03 20:51:48 +0000
commit8a5d05e253490a5851b7e142f4090971153c1178 (patch)
treedde9fda7e05a2cdac8a9daed8eea761a886efdb6 /modules
parenta03c10fa14e4d9e33e487566ec6858192394621c (diff)
downloadgdk-pixbuf-8a5d05e253490a5851b7e142f4090971153c1178.tar.gz
Use the wide character version of ImmGetCompositionString() here, too.
2005-02-03 Tor Lillqvist <tml@novell.com> * modules/input/gtkimcontextime.c (get_pango_attr_list): Use the wide character version of ImmGetCompositionString() here, too. (#165278, Takuro Ashie)
Diffstat (limited to 'modules')
-rw-r--r--modules/input/gtkimcontextime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/gtkimcontextime.c b/modules/input/gtkimcontextime.c
index 833cf160b..615e6a1f6 100644
--- a/modules/input/gtkimcontextime.c
+++ b/modules/input/gtkimcontextime.c
@@ -446,9 +446,9 @@ get_pango_attr_list (GtkIMContextIME *context_ime, const gchar *utf8str)
/*
* get attributes list of IME.
*/
- len = ImmGetCompositionStringA (himc, GCS_COMPATTR, NULL, 0);
+ len = ImmGetCompositionStringW (himc, GCS_COMPATTR, NULL, 0);
buf = g_alloca (len);
- ImmGetCompositionStringA (himc, GCS_COMPATTR, buf, len);
+ ImmGetCompositionStringW (himc, GCS_COMPATTR, buf, len);
/*
* schr and echr are pointer in utf8str.