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)
This commit is contained in:
committed by
Tor Lillqvist
parent
60bc8d0b77
commit
4e82deacd8
@@ -1,3 +1,9 @@
|
||||
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)
|
||||
|
||||
2005-02-03 Mark McLoughlin <mark@skynet.ie>
|
||||
|
||||
* gtk/gtkicontheme.c: (load_themes): remove debug spew.
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
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)
|
||||
|
||||
2005-02-03 Mark McLoughlin <mark@skynet.ie>
|
||||
|
||||
* gtk/gtkicontheme.c: (load_themes): remove debug spew.
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
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)
|
||||
|
||||
2005-02-03 Mark McLoughlin <mark@skynet.ie>
|
||||
|
||||
* gtk/gtkicontheme.c: (load_themes): remove debug spew.
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user