GNOME Bugzilla – Bug 652388
shell-window-tracker: Fix signal handler leak
Last modified: 2011-06-13 15:03:36 UTC
See patch.
Created attachment 189759 [details] [review] shell-window-tracker: Fix signal handler leak Disconnect the on_wm_class_changed handler when removing a window in disassociate_window().
Review of attachment 189759 [details] [review]: The code looks as correct as the current code. I'm really not liking the fact that the current code counts on the fact that shell_window_tracker_is_window_interesting() doesn't change, while it *can* change - skip_taskbar and the window type can be changed on the fly by Mutter. But that's a separate bug that was introduced by commit 4b1fea2f (which probably should be solved by tracking changes to is_window_interesting rather than by correcting the accounting logic.) So this should be OK to commit.
Attachment 189759 [details] pushed as 1309b64 - shell-window-tracker: Fix signal handler leak