timelineobject: Update the nb_effect when releasing a TrackEffect

This commit is contained in:
Thibault Saunier 2012-01-27 17:09:08 +01:00
parent d5b4fa215e
commit 6447a50001

View file

@ -647,6 +647,7 @@ ges_timeline_object_release_track_object (GESTimelineObject * object,
if (GES_IS_TRACK_EFFECT (trackobject)) {
/* emit 'object-removed' */
object->priv->nb_effects--;
g_signal_emit (object, ges_timeline_object_signals[EFFECT_REMOVED], 0,
GES_TRACK_EFFECT (trackobject));
} else