[AdgContainer] unref the children in dispose()
commitab67a2a965975ad64d8b9fb2c1abd1ba3e58c491
authorNicola Fontana <ntd@entidi.it>
Tue, 18 Aug 2009 20:19:34 +0000 (18 22:19 +0200)
committerNicola Fontana <ntd@entidi.it>
Tue, 18 Aug 2009 20:19:34 +0000 (18 22:19 +0200)
tree66144f91e310a5665ba33ec67b4b7a1d3ab81b55
parent931919c59812fef3db850461fc18326860b3fe5d
[AdgContainer] unref the children in dispose()

I didn't realize how AdgContainer was messed up: parent and children
were disjoint, no disposing of children and no referencing after add
nor dereferencing after remove.

Updated the code to a hopefully decent state.
adg/adg-container.c
adg/adg-container.h