libweston: Move idle_animation_destroy to before frame handler
No functional change, we'll just need this function earlier in a later commit. Signed-off-by: Derek Foreman <derek.foreman@collabora.com>
This commit is contained in:
parent
dbf408791c
commit
05f199feea
@ -167,6 +167,14 @@ handle_animation_view_destroy(struct wl_listener *listener, void *data)
|
||||
weston_view_animation_destroy(animation);
|
||||
}
|
||||
|
||||
static void
|
||||
idle_animation_destroy(void *data)
|
||||
{
|
||||
struct weston_view_animation *animation = data;
|
||||
|
||||
weston_view_animation_destroy(animation);
|
||||
}
|
||||
|
||||
static void
|
||||
weston_view_animation_frame(struct weston_animation *base,
|
||||
struct weston_output *output,
|
||||
@ -209,14 +217,6 @@ weston_view_animation_frame(struct weston_animation *base,
|
||||
weston_compositor_schedule_repaint(compositor);
|
||||
}
|
||||
|
||||
static void
|
||||
idle_animation_destroy(void *data)
|
||||
{
|
||||
struct weston_view_animation *animation = data;
|
||||
|
||||
weston_view_animation_destroy(animation);
|
||||
}
|
||||
|
||||
static struct weston_view_animation *
|
||||
weston_view_animation_create(struct weston_view *view,
|
||||
float start, float stop,
|
||||
|
Loading…
Reference in New Issue
Block a user