summaryrefslogtreecommitdiff
path: root/modules/input
diff options
context:
space:
mode:
authorOwen Taylor <otaylor@redhat.com>2001-01-05 21:23:53 +0000
committerOwen Taylor <otaylor@src.gnome.org>2001-01-05 21:23:53 +0000
commiteb2fdbb1769a90f34a916e4a912b648d067b5f7d (patch)
tree83153e6c91929ccff0deb4d2cc459e63803b4711 /modules/input
parent1299c1df6fc2f5a397176a2edb2c224380c339cb (diff)
downloadgtk+-eb2fdbb1769a90f34a916e4a912b648d067b5f7d.tar.gz
Adopt to new prototypes for unicode,locale,filename conversion functions.
Fri Jan 5 16:16:29 2001 Owen Taylor <otaylor@redhat.com> * gtk/{gtkcalender.c,gtkfilesel.c,gtkimcontext.c}, modules/input/gtkimcontextxim.c: Adopt to new prototypes for unicode,locale,filename conversion functions.
Diffstat (limited to 'modules/input')
-rw-r--r--modules/input/gtkimcontextxim.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/input/gtkimcontextxim.c b/modules/input/gtkimcontextxim.c
index 6b72f25215..5829b5f49e 100644
--- a/modules/input/gtkimcontextxim.c
+++ b/modules/input/gtkimcontextxim.c
@@ -499,7 +499,7 @@ gtk_im_context_xim_get_preedit_string (GtkIMContext *context,
gint *cursor_pos)
{
GtkIMContextXIM *context_xim = GTK_IM_CONTEXT_XIM (context);
- gchar *utf8 = g_ucs4_to_utf8 (context_xim->preedit_chars, context_xim->preedit_length);
+ gchar *utf8 = g_ucs4_to_utf8 (context_xim->preedit_chars, context_xim->preedit_length, NULL, NULL, NULL);
if (attrs)
{
@@ -631,7 +631,7 @@ preedit_draw_callback (XIC xic,
new_text_length = xim_text_to_utf8 (context, new_xim_text, &tmp);
if (tmp)
{
- new_text = g_utf8_to_ucs4 (tmp, -1);
+ new_text = g_utf8_to_ucs4_fast (tmp, -1, NULL);
g_free (tmp);
}