container: Let subclass know adding child was interrupted
authorThibault Saunier <tsaunier@igalia.com>
Wed, 18 Mar 2020 14:12:55 +0000 (11:12 -0300)
committerThibault Saunier <tsaunier@igalia.com>
Wed, 18 Mar 2020 17:04:49 +0000 (14:04 -0300)
commit10590e25f0b27668e0de81a2cff4b477a97c471f
treea7bd2ed2bd783e712c2c9dad6c497a5d422da8a8
parenteb8e429c800ef133184b097263f3e2cf48b3ca13
container: Let subclass know adding child was interrupted

When the `child-added` signal emission was called, the
`GESContainer->child_added` vmethod was called (the signal is
`G_SIGNAL_RUN_FIRST`) so we need to call `GESContainer->child_removed`
ourself so subclasses know they do not control the child anymore.
ges/ges-container.c