class-group: add a weak reference callback to window
When wnck_shutdown
is called all windows are destroyed, but nothing removes signal handlers from hash tables. When class group is destroyed it will try to remove signal handlers from already destroyed windows.
Use weak reference callback to remove obsolete signal handlers from hash tables.