[mutter/gbsneto/software-picking: 36/41] clutter/stage-cogl: Remove unused variable
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter/gbsneto/software-picking: 36/41] clutter/stage-cogl: Remove unused variable
- Date: Fri, 8 Feb 2019 18:07:27 +0000 (UTC)
commit 82f776b1b65c261c7979868404603c4fb91e6c07
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.
https://gitlab.gnome.org/GNOME/mutter/merge_requests/402
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]