ges: Avoid emitting 'child-added/removed' when signal emission stops addition
authorThibault Saunier <tsaunier@gnome.org>
Thu, 24 Sep 2015 11:21:15 +0000 (13:21 +0200)
committerThibault Saunier <tsaunier@gnome.org>
Thu, 24 Sep 2015 11:27:16 +0000 (13:27 +0200)
commit822e0a7b09b4da360736d1c1e727584f2a9eca53
treebdcff8dea43cb1b5ee2a5600073bdfc79d7e8da0
parentbd1d03202bdd278df7db3558e9df49082ade485d
ges: Avoid emitting 'child-added/removed' when signal emission stops addition

In the GESTimeline, TrackElement addition to a clip might get cancelled
(and thus the element gets removed), we need to make sure users do not
get wrong signals.

Also document the fact that user should connect to container::child-added
with g_signal_connect_after.
ges/ges-container.c
ges/ges-timeline.c