[uim-commit] r1839 - branches/0.4/gtk

ekato at freedesktop.org ekato at freedesktop.org
Thu Oct 13 22:05:29 PDT 2005


Author: ekato
Date: 2005-10-13 22:05:16 -0700 (Thu, 13 Oct 2005)
New Revision: 1839

Modified:
   branches/0.4/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c : Port r1733 from trunk.


Modified: branches/0.4/gtk/gtk-im-uim.c
===================================================================
--- branches/0.4/gtk/gtk-im-uim.c	2005-10-14 05:03:37 UTC (rev 1838)
+++ branches/0.4/gtk/gtk-im-uim.c	2005-10-14 05:05:16 UTC (rev 1839)
@@ -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