ges: Correctly handling floating references
authorSebastian Dröge <sebastian@centricular.com>
Mon, 15 May 2017 07:13:38 +0000 (09:13 +0200)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Sat, 20 May 2017 14:53:57 +0000 (16:53 +0200)
commitbe6757424509e1c072d6429cf93715e3311f43fb
treea36011304936cee2aade60194c58907028bde8a1
parent4a906e412e6cab776e8c1434a5d4720f3986f071
ges: Correctly handling floating references

If we ref_sink() a parameter, it must be marked as (transfer floating)
and it also has to be handled consistently between error and normal cases.

See https://bugzilla.gnome.org/show_bug.cgi?id=782499

https://bugzilla.gnome.org/show_bug.cgi?id=782652
ges/ges-layer.c
ges/ges-timeline-element.c
ges/ges-timeline.c
ges/ges-track.c