[mutter/gbsneto/software-picking: 66/67] clutter/stage-cogl: Remove unused variable



commit 3144ea0585a20552dfe9cea913fd1b88233724b3
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Jan 22 09:44:59 2019 -0200

    clutter/stage-cogl: Remove unused variable
    
    The view layout is being fetched but not used. Remove
    it.

 clutter/clutter/cogl/clutter-stage-cogl.c | 3 ---
 1 file changed, 3 deletions(-)
---
diff --git a/clutter/clutter/cogl/clutter-stage-cogl.c b/clutter/clutter/cogl/clutter-stage-cogl.c
index ad9dec304..60f5b81e4 100644
--- a/clutter/clutter/cogl/clutter-stage-cogl.c
+++ b/clutter/clutter/cogl/clutter-stage-cogl.c
@@ -982,11 +982,8 @@ clutter_stage_cogl_get_dirty_pixel (ClutterStageWindow *stage_window,
       ClutterStageViewCogl *view_cogl = CLUTTER_STAGE_VIEW_COGL (view);
       ClutterStageViewCoglPrivate *view_priv =
         clutter_stage_view_cogl_get_instance_private (view_cogl);
-      cairo_rectangle_int_t view_layout;
       cairo_rectangle_int_t *fb_damage;
 
-      clutter_stage_view_get_layout (view, &view_layout);
-
       fb_damage = &view_priv->damage_history[DAMAGE_HISTORY (view_priv->damage_index - 1)];
       *x = fb_damage->x / fb_scale;
       *y = fb_damage->y / fb_scale;


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