GNOME Bugzilla – Bug 478690
Destroy signal not called when deleting a widget
Last modified: 2008-09-09 21:10:57 UTC
The following snippet of code doesn't emit a destroy signal. It works fine with pygobject 2.13. import gtk def destroy_cb(widget): print 'Destroy' label = gtk.Label() label.connect('destroy', destroy_cb) del label import gc while gc.collect(): pass gtk.main()
We will not release 2.12 anymore and it works with trunk. Closing.