Please sign in to comment.
Fix SEGV by clicking a candidate shown by uim-bushuconv.
Change to emit index-changed signal after selection changed, instead of emitting before selection change. * gtk2/immodule/uim-cand-win-vertical-gtk.c - (tree_selection_change): Change not to emit signal here. - (tree_selection_changed): Emit signal if index_changed flag is set. * gtk2/immodule/uim-cand-win-gtk.h - (_UIMCandWinGtk): Add member variable index_changed. * gtk2/immodule/uim-cand-win-gtk.c - (uim_cand_win_gtk_init): Add initialization of index_changed variable.
- Loading branch information...
Showing with 14 additions and 1 deletion.