[AdgStyle] Force "invalidate" emission on disposing
commit1ac2f25fddee0d3e7726796e7678e3311c01e6cf
authorNicola Fontana <ntd@entidi.it>
Tue, 15 Feb 2011 22:35:06 +0000 (15 23:35 +0100)
committerNicola Fontana <ntd@entidi.it>
Tue, 15 Feb 2011 22:35:06 +0000 (15 23:35 +0100)
treeabb6dcebccb5eb27b9d3cc747a9ac66b1b256c31
parente88bb84ca2485190c57e04e7c09ee4059fe7ac4a
[AdgStyle] Force "invalidate" emission on disposing

The "invalidate" signal is supposed to clear the internal data/cache
kept by the style implementation, so it seems natural to call it while
disposing. dispose() is a better place than finalize() because the
internal data could contain object references.
src/adg/adg-style.c