[mutter] wayland: Remove an extraneous variable



commit de6054d55773e535b693061169218d49c07936b2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Fri Apr 18 18:09:14 2014 -0400

    wayland: Remove an extraneous variable

 src/wayland/meta-wayland-surface.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/wayland/meta-wayland-surface.c b/src/wayland/meta-wayland-surface.c
index 88bfeb8..e2c08b4 100644
--- a/src/wayland/meta-wayland-surface.c
+++ b/src/wayland/meta-wayland-surface.c
@@ -1383,8 +1383,6 @@ bind_gtk_shell (struct wl_client *client,
 static void
 subsurface_parent_surface_committed (MetaWaylandSurface *surface)
 {
-  MetaWaylandPendingState *pending_surface_state = &surface->sub.pending_surface_state;
-
   if (surface->sub.pending_pos)
     {
       clutter_actor_set_position (CLUTTER_ACTOR (surface->surface_actor),
@@ -1432,7 +1430,7 @@ subsurface_parent_surface_committed (MetaWaylandSurface *surface)
     }
 
   if (surface->sub.synchronous)
-    commit_pending_state (surface, pending_surface_state);
+    commit_pending_state (surface, &surface->sub.pending_surface_state);
 }
 
 static void


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