[uim-commit] r2107 - trunk/gtk
ekato at freedesktop.org
ekato at freedesktop.org
Wed Nov 9 00:55:37 PST 2005
Author: ekato
Date: 2005-11-09 00:55:31 -0800 (Wed, 09 Nov 2005)
New Revision: 2107
Modified:
trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (update_prop_label_cb) : Add sanity check for
updating caret state indicator.
Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c 2005-11-09 06:28:22 UTC (rev 2106)
+++ trunk/gtk/gtk-im-uim.c 2005-11-09 08:55:31 UTC (rev 2107)
@@ -745,7 +745,7 @@
g_string_free(tmp, TRUE);
show_state = uim_scm_symbol_value_bool("bridge-show-input-state?");
- if (show_state == UIM_TRUE) {
+ if (show_state == UIM_TRUE && uic->win) {
gint timeout;
gdk_window_get_origin(uic->win, &x, &y);
caret_state_indicator_update(uic->caret_state_indicator, x, y, str);
More information about the uim-commit
mailing list