timeline: reimplement snap_to_position a bit more appropriately.
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>
Tue, 12 Jan 2016 14:51:55 +0000 (14:51 +0000)
committerThibault Saunier <thibault.saunier@osg.samsung.com>
Wed, 9 Nov 2016 21:35:12 +0000 (18:35 -0300)
commit73cf36fa25a79278d401deccfacc9624e5a4904a
treebd13b30321ab8567807c8a323edf8c6f8e997624
parentff6dc38900936fd0440be46590410825caf3727b
timeline: reimplement snap_to_position a bit more appropriately.

It could yet be made be simpler, but it would require
touching the rest of the timeline editing code.

Fixes https://phabricator.freedesktop.org/T7587

Reviewed-by: Thibault Saunier <thibault.saunier@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D657
ges/ges-timeline.c
tests/check/ges/timelineedition.c
tests/check/python/test_clip.py
tests/check/python/test_timeline.py