ges: Don't emit timeline::group-removed when ungrouping outside a timeline

This commit is contained in:
Thibault Saunier 2016-03-11 17:29:08 +01:00
parent c4356db40c
commit 8ce2b97a93

View file

@ -571,6 +571,8 @@ _ungroup (GESContainer * group, gboolean recursive)
g_ptr_array_add (children_array, child);
ret = g_list_append (ret, child);
}
if (timeline)
ges_timeline_emit_group_removed (timeline, (GESGroup *) group,
children_array);
g_ptr_array_free (children_array, TRUE);