timeline: fix paste ownership
authorHenry Wilkes <hwilkes@igalia.com>
Fri, 20 Dec 2019 11:20:49 +0000 (11:20 +0000)
committerThibault Saunier <tsaunier@igalia.com>
Thu, 5 Mar 2020 19:59:37 +0000 (16:59 -0300)
commit615bf9e47aa22d140d709f0a91d25c784266fb08
tree64a0e9d329701c345623e451da68a64970505c37
parent8ad9952cdbb4073cdc8e13c115dd712ab1776eb0
timeline: fix paste ownership

The method steals ownership of `copied_from`, so should be responsible
for unreffing it. Also make sure we fail when `layer != -1`, since this
functionality is not supported.
ges/ges-timeline.c