adg: clarify roles during destruction
commitab69c0effb66b2dec7f63db6fba45786461182d3
authorNicola Fontana <ntd@entidi.it>
Mon, 16 Feb 2015 10:48:33 +0000 (16 11:48 +0100)
committerNicola Fontana <ntd@entidi.it>
Mon, 16 Feb 2015 10:51:37 +0000 (16 11:51 +0100)
treebc83ca0f6e189adf3b3783f676aaf0c5db6c3f90
parent9715f99680ef07a89d907755c8397922a7050d1c
adg: clarify roles during destruction

Make clear in docs adg_entity_destroy() should only be used to destroy
top-level entities (e.g., AdgCanvas instances).

Modified destroy implementation to be roughly equivalent to a
g_object_run_dispose() followed by a g_object_unref().

Closes issue #162: http://dev.entidi.com/p/adg/issues/162/
src/adg/adg-entity.c