Fix crash on running old plugins destructor after widget itself was destroyed.
authorAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 15 Feb 2014 21:27:16 +0000 (23:27 +0200)
committerAndriy Grytsenko <andrej@rep.kiev.ua>
Sat, 15 Feb 2014 21:27:16 +0000 (23:27 +0200)
commitfcbe8a69ecdfb2b3b173936e2da86fa463ddc0fe
treeefced211e30b0c6022b6d16480666c0ef547ff26
parentb0fe7d3367e29419b12bc93865d3dceb4b56d336
Fix crash on running old plugins destructor after widget itself was destroyed.

Removing "taskbar" from panel leads to crash. Adding handler to the widget
"destroy" signal which runs [class]->destructor() solves the issue.
src/plugin.c