summaryrefslogtreecommitdiff
path: root/src/animation.c
diff options
context:
space:
mode:
authorKristian Høgsberg <krh@bitplanet.net>2013-05-08 09:54:37 -0400
committerKristian Høgsberg <krh@bitplanet.net>2013-05-08 09:54:37 -0400
commitfe7aa90ed4f9536fc7c26cb87bbc89dafd950077 (patch)
treefa2fcfa9688a87d4b01d83b64cddb52647edf5f2 /src/animation.c
parenta4036bbd230de4e039395547d35d52a2d721cbc4 (diff)
downloadweston-fe7aa90ed4f9536fc7c26cb87bbc89dafd950077.tar.gz
compositor: Adapt to wl_surface going away
struct weston_surface is now the only surface type we have (in core, shell.c has shell_surface, of course). A lot of code gets simpler and we never have to try to guess whether an API takes a wl_surface or a weston_surface.
Diffstat (limited to 'src/animation.c')
-rw-r--r--src/animation.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/animation.c b/src/animation.c
index 229946fe..e947d723 100644
--- a/src/animation.c
+++ b/src/animation.c
@@ -186,8 +186,7 @@ weston_surface_animation_run(struct weston_surface *surface,
weston_surface_animation_frame(&animation->animation, NULL, 0);
animation->listener.notify = handle_animation_surface_destroy;
- wl_signal_add(&surface->surface.resource.destroy_signal,
- &animation->listener);
+ wl_signal_add(&surface->resource.destroy_signal, &animation->listener);
wl_list_insert(&surface->output->animation_list,
&animation->animation.link);