clutter/timeline: Remove deprecated 'loop' property
It was since long ago replaced by a 'repeat-count' property. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1289
This commit is contained in:

committed by
Georges Basile Stavracas Neto

parent
84f55d38dd
commit
08b30d6fe2
@ -136,7 +136,7 @@ timeline_interpolation (void)
|
||||
|
||||
state.timeline =
|
||||
clutter_timeline_new (TEST_TIMELINE_DURATION);
|
||||
clutter_timeline_set_loop (state.timeline, TRUE);
|
||||
clutter_timeline_set_repeat_count (state.timeline, -1);
|
||||
g_signal_connect (G_OBJECT(state.timeline),
|
||||
"new-frame",
|
||||
G_CALLBACK(new_frame_cb),
|
||||
|
@ -410,7 +410,7 @@ test_cogl_tex_polygon_main (int argc, char *argv[])
|
||||
|
||||
/* Timeline for animation */
|
||||
timeline = clutter_timeline_new (6000);
|
||||
clutter_timeline_set_loop (timeline, TRUE);
|
||||
clutter_timeline_set_repeat_count (timeline, -1);
|
||||
g_signal_connect (timeline, "new-frame", G_CALLBACK (frame_cb), coglbox);
|
||||
clutter_timeline_start (timeline);
|
||||
|
||||
|
@ -216,7 +216,7 @@ test_cogl_tex_tile_main (int argc, char *argv[])
|
||||
|
||||
/* Timeline for animation */
|
||||
timeline = clutter_timeline_new (6000); /* 6 second duration */
|
||||
clutter_timeline_set_loop (timeline, TRUE);
|
||||
clutter_timeline_set_repeat_count (timeline, -1);
|
||||
g_signal_connect (timeline, "new-frame", G_CALLBACK (frame_cb), coglbox);
|
||||
clutter_timeline_start (timeline);
|
||||
|
||||
|
Reference in New Issue
Block a user