summaryrefslogtreecommitdiff
path: root/fullscreen-shell
diff options
context:
space:
mode:
authorGiulio Camuffo <giuliocamuffo@gmail.com>2014-07-29 21:57:24 +0300
committerPekka Paalanen <pekka.paalanen@collabora.co.uk>2014-08-08 18:07:34 +0300
commitd1ceecf11263244bd496ec13cc942f4d3f58be84 (patch)
tree1b912eabcb5550aaa6932a948585973092c97230 /fullscreen-shell
parente84ab4ef4dda6169cae3eb5a35a1200b7840c55b (diff)
fullscreen-shell: Fix compiler warnings
Diffstat (limited to 'fullscreen-shell')
-rw-r--r--fullscreen-shell/fullscreen-shell.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/fullscreen-shell/fullscreen-shell.c b/fullscreen-shell/fullscreen-shell.c
index a8dad8e6..25932d44 100644
--- a/fullscreen-shell/fullscreen-shell.c
+++ b/fullscreen-shell/fullscreen-shell.c
@@ -262,7 +262,7 @@ fs_output_create(struct fullscreen_shell *shell, struct weston_output *output)
fsout->black_view = create_black_surface(shell->compositor, fsout,
output->x, output->y,
output->width, output->height);
- wl_list_insert(&shell->layer.view_list,
+ weston_layer_entry_insert(&shell->layer.view_list,
&fsout->black_view->layer_link);
wl_list_init(&fsout->transform.link);
return fsout;
@@ -573,7 +573,7 @@ fs_output_apply_pending(struct fs_output *fsout)
wl_signal_add(&fsout->surface->destroy_signal,
&fsout->surface_destroyed);
- wl_list_insert(&fsout->shell->layer.view_list,
+ weston_layer_entry_insert(&fsout->shell->layer.view_list,
&fsout->view->layer_link);
}