timelineobject: Set TrackObject's TimelineObject only when calling the add function
authorThibault Saunier <thibault.saunier@collabora.com>
Mon, 30 Jan 2012 16:47:42 +0000 (17:47 +0100)
committerThibault Saunier <thibault.saunier@collabora.com>
Wed, 28 Mar 2012 17:10:27 +0000 (13:10 -0400)
commit148e7ef411c4422eaac1744ca9858dc3699ad399
tree2bd7da040182dd85544b9673aec922c5c663e87b
parent6447a500019a3a9b9aa022415fad0f552cd0ead7
timelineobject: Set TrackObject's TimelineObject only when calling the add function

ges_timeline_object_add_track_object actually calls
ges_track_object_set_timeline_object so do not do it once more ourself.
Especially since it results in having a TrackObject.timeline_object refering
to a TimelineObject it is not actually in yet.
ges/ges-timeline-object.c