[uim-commit] r1733 - trunk/gtk
ekato at freedesktop.org
ekato at freedesktop.org
Sat Oct 1 23:19:23 PDT 2005
Author: ekato
Date: 2005-10-01 23:19:21 -0700 (Sat, 01 Oct 2005)
New Revision: 1733
Modified:
trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (im_uim_finalize) : Check tag > 0 for
"timeout-tag" of caret state indicator.
Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c 2005-10-01 08:23:58 UTC (rev 1732)
+++ trunk/gtk/gtk-im-uim.c 2005-10-02 06:19:21 UTC (rev 1733)
@@ -667,7 +667,8 @@
}
if (uic->caret_state_indicator) {
guint tag = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(uic->caret_state_indicator), "timeout-tag"));
- g_source_remove(tag);
+ if (tag > 0)
+ g_source_remove(tag);
gtk_widget_destroy(uic->caret_state_indicator);
uic->caret_state_indicator = NULL;
}
More information about the uim-commit
mailing list