summaryrefslogtreecommitdiff
path: root/src/tests/clutter/interactive/test-cogl-multitexture.c
diff options
context:
space:
mode:
authorJonas Ådahl <jadahl@gmail.com>2020-04-17 09:03:44 +0200
committerJonas Ådahl <jadahl@gmail.com>2020-07-02 19:36:50 +0200
commit2b95ec40c6a0f148411c7b1b2154ec1be7d374f6 (patch)
treea85740182151ce605dcd321aa734f08673ca835d /src/tests/clutter/interactive/test-cogl-multitexture.c
parent203c20d7ad376fd030d37e422c0613bd92cfbfc9 (diff)
downloadmutter-2b95ec40c6a0f148411c7b1b2154ec1be7d374f6.tar.gz
clutter/timeline: Deprecate timelines without an actor or frame clock
Without an associated actor, or explicit frame clock set, in the future a timeline will not know how to progress, as there will be no singe frame clock to assume is the main one. Thus, deprecate the construction of timelines without either an actor or frame clock set. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1285
Diffstat (limited to 'src/tests/clutter/interactive/test-cogl-multitexture.c')
-rw-r--r--src/tests/clutter/interactive/test-cogl-multitexture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/clutter/interactive/test-cogl-multitexture.c b/src/tests/clutter/interactive/test-cogl-multitexture.c
index d2a1f94fe..00bd30f92 100644
--- a/src/tests/clutter/interactive/test-cogl-multitexture.c
+++ b/src/tests/clutter/interactive/test-cogl-multitexture.c
@@ -212,7 +212,7 @@ test_cogl_multitexture_main (int argc, char *argv[])
clutter_container_add_actor (CLUTTER_CONTAINER(stage),
state->group);
- state->timeline = clutter_timeline_new (2812);
+ state->timeline = clutter_timeline_new_for_actor (stage, 2812);
g_signal_connect (state->timeline, "new-frame", G_CALLBACK (frame_cb), state);