Commit 99c074e7 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor
Browse files

Clear preedit string and emit preedit_changed as needed on AIX. (#130617,

Thu Mar 11 17:51:10 2004  Owen Taylor  <otaylor@redhat.com>

        * modules/input/gtkimcontextxim.c (preedit_done_callback):
        Clear preedit string and emit preedit_changed as needed
        on AIX. (#130617, Philip K Warren)
parent 83384bd0
Thu Mar 11 17:51:10 2004 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (preedit_done_callback):
Clear preedit string and emit preedit_changed as needed
on AIX. (#130617, Philip K Warren)
2004-03-11 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
......
Thu Mar 11 17:51:10 2004 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (preedit_done_callback):
Clear preedit string and emit preedit_changed as needed
on AIX. (#130617, Philip K Warren)
2004-03-11 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
......
Thu Mar 11 17:51:10 2004 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (preedit_done_callback):
Clear preedit string and emit preedit_changed as needed
on AIX. (#130617, Philip K Warren)
2004-03-11 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
......
Thu Mar 11 17:51:10 2004 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (preedit_done_callback):
Clear preedit string and emit preedit_changed as needed
on AIX. (#130617, Philip K Warren)
2004-03-11 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
......
Thu Mar 11 17:51:10 2004 Owen Taylor <otaylor@redhat.com>
* modules/input/gtkimcontextxim.c (preedit_done_callback):
Clear preedit string and emit preedit_changed as needed
on AIX. (#130617, Philip K Warren)
2004-03-11 Morten Welinder <terra@gnome.org>
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
......
......@@ -991,6 +991,13 @@ preedit_done_callback (XIC xic,
GtkIMContext *context = GTK_IM_CONTEXT (client_data);
GtkIMContextXIM *context_xim = GTK_IM_CONTEXT_XIM (context);
if (context_xim->preedit_length)
{
context_xim->preedit_length = 0;
if (!context_xim->finalizing)
g_signal_emit_by_name (context_xim, "preedit_changed");
}
if (!context_xim->finalizing)
g_signal_emit_by_name (context, "preedit_end");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment