[mutter] wayland-surface: Fix warnings



commit afaab8aef23894cb7857dceacf324b8bf561949a
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sun May 4 15:33:10 2014 -0400

    wayland-surface: Fix warnings

 src/wayland/meta-wayland-surface.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index ee332a5..cd35e64 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]