container: return TRUE if adding doesn't cause any errors
authorHenry Wilkes <hwilkes@igalia.com>
Fri, 1 May 2020 13:26:32 +0000 (14:26 +0100)
committerHenry Wilkes <hwilkes@igalia.com>
Fri, 1 May 2020 13:26:32 +0000 (14:26 +0100)
commit00a9825ffb5dd8ef6c6c3c9b513aaa573543f17e
tree848a26829466e47e39c226473e7769b17b9de67f
parent7dd6bc4de2a4056c3f5326a0ae9936c46bea5607
container: return TRUE if adding doesn't cause any errors

If `add_child` and `set_parent` succeed we want to return TRUE, even if
the added element is no longer a child by the end of the method. This is
because some users may call ges_container_remove during `child-added`.
This shouldn't be considered an error.
ges/ges-container.c