mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-13 05:50:10 +00:00
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)
This commit is contained in:
parent
83384bd070
commit
99c074e7cf
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2004-03-11 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2004-03-11 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2004-03-11 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2004-03-11 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
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>
|
2004-03-11 Morten Welinder <terra@gnome.org>
|
||||||
|
|
||||||
* gtk/gtkpathbar.c (_gtk_path_bar_set_file_system): Plug leak.
|
* 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);
|
GtkIMContext *context = GTK_IM_CONTEXT (client_data);
|
||||||
GtkIMContextXIM *context_xim = GTK_IM_CONTEXT_XIM (context);
|
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)
|
if (!context_xim->finalizing)
|
||||||
g_signal_emit_by_name (context, "preedit_end");
|
g_signal_emit_by_name (context, "preedit_end");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user