treeselection does not release references if treeview is destroy()ed
Submitted by Cole Robinson
Link to original bug (#692044)
Description
Created attachment 233810 Script showing the issue
Doing:
treeview.get_selection().connect("changed", mycb) treeview.destroy()
Leaves a reference hanging around on mycb. This doesn't happen if destroying a gtkcontainer with a child widget that has a callback. The attached script demos it a bit better. It might be specific to using gtkbuilder.
I didn't have this problem with pygtk2.
Attachment 233810, "Script showing the issue":
test-treeselection-reference.py