Styles are not properly removed
Original Reporter info from Mantis: cobines
-
Reporter name:
Original Reporter info from Mantis: cobines
- Reporter name:
Description:
Styles are not handled correctly with regards to reference counting. Floating reference flag of widgets is not taken into account, so some widgets end up not being destroyed and for some it causes double destroy (when one widget contains another, like toolbutton->toolbar).
It fixes the bug reported on mailing list:
http://lists.lazarus.freepascal.org/pipermail/lazarus/2011-November/068378.html
Tested only GTK 2.24.6, 2.24.7.