[uim-commit] r3090 - trunk/gtk

ekato at freedesktop.org ekato at freedesktop.org
Thu Feb 2 20:46:22 PST 2006


Author: ekato
Date: 2006-02-02 20:46:18 -0800 (Thu, 02 Feb 2006)
New Revision: 3090

Modified:
   trunk/gtk/gtk-im-uim.c
Log:
* gtk/gtk-im-uim.c (im_uim_finalize) : Remove signal handlers on
  finalize.


Modified: trunk/gtk/gtk-im-uim.c
===================================================================
--- trunk/gtk/gtk-im-uim.c	2006-02-03 01:57:40 UTC (rev 3089)
+++ trunk/gtk/gtk-im-uim.c	2006-02-03 04:46:18 UTC (rev 3090)
@@ -1138,6 +1138,12 @@
     gtk_widget_destroy(uic->preedit_window);
     uic->preedit_window = NULL;
   }
+  if (uic->widget) {
+    g_signal_handlers_disconnect_by_func(uic->widget,
+		    (gpointer)on_client_widget_hierarchy_changed, uic);
+    g_signal_handlers_disconnect_by_func(uic->widget,
+		    (gpointer)on_client_widget_grab_notify, uic);
+  }
 
   uim_release_context(uic->uc);
 



More information about the uim-commit mailing list