wayland-surface: Fix warnings

This commit is contained in:
Jasper St. Pierre 2014-05-04 15:33:10 -04:00
parent 845fdda22c
commit afaab8aef2

View File

@ -324,7 +324,6 @@ commit_pending_state (MetaWaylandSurface *surface,
MetaWaylandPendingState *pending)
{
MetaWaylandCompositor *compositor = surface->compositor;
double output_scale;
/* If this surface is a subsurface in in synchronous mode, commit
* has a special-case and should not apply the pending state immediately.
@ -376,7 +375,7 @@ commit_pending_state (MetaWaylandSurface *surface,
g_list_foreach (surface->subsurfaces, parent_surface_committed, NULL);
/* scale surface texture */
meta_surface_actor_wayland_scale_texture (surface->surface_actor);
meta_surface_actor_wayland_scale_texture (META_SURFACE_ACTOR_WAYLAND (surface->surface_actor));
/* wl_surface.frame */
wl_list_insert_list (&compositor->frame_callbacks, &pending->frame_callback_list);