GNOME Bugzilla – Bug 89496
GtkSocket does not disconnect toplevel_focus_in_handler after destoy
Last modified: 2009-08-15 18:40:50 UTC
in gtksocket.c there's only gdk_window_add_filter but no gdk_window_remove_filter. That cause gtk_socket_filter_func still works even after my GtkSocket has been destroyed.
I modified the summary. It seems only toplevel_focus_in_handler is not disconnect correctly.
I need reproduction instructions here, and preferrably a standalone test case. (mozilla isn't a useful test case for me.) hierarchy_changed looks like it should properly remove the handler to me. Please reopen when you add more information. (What version of GTK+? I assume 2.0.x for some x since CVS head doesn't have toplevel_focus_in_handler)
It's my fault. I didn't treat unparent correctly. Sorry for the confusion!