[mutter/wayland] shaped-texture: Constify clip



commit 71efbf033024b5b13c16dfcb99001de0ec448215
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Feb 5 14:10:49 2014 -0500

    shaped-texture: Constify clip
    
    This matches upstream

 src/compositor/meta-shaped-texture.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/compositor/meta-shaped-texture.c b/src/compositor/meta-shaped-texture.c
index 797693e..e3c36cd 100644
--- a/src/compositor/meta-shaped-texture.c
+++ b/src/compositor/meta-shaped-texture.c
@@ -621,7 +621,7 @@ meta_shaped_texture_update_area (MetaShapedTexture *stex,
                                 cairo_region_t    *unobscured_region)
 {
   MetaShapedTexturePrivate *priv;
-  cairo_rectangle_int_t clip = { x, y, width, height };
+  const cairo_rectangle_int_t clip = { x, y, width, height };
 
   priv = stex->priv;
 


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