[gnome-control-center] display: Use correctly typed pointer
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] display: Use correctly typed pointer
- Date: Mon, 15 Jun 2015 14:19:07 +0000 (UTC)
commit 3d8cd197c95fbf442e1dbc0930c328c86ca5e560
Author: Dave Airlie <airlied redhat com>
Date: Thu Oct 16 08:44:48 2014 +1000
display: Use correctly typed pointer
We already assign list->data to output.
https://bugzilla.gnome.org/show_bug.cgi?id=750312
panels/display/cc-display-panel.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/panels/display/cc-display-panel.c b/panels/display/cc-display-panel.c
index 787ce4a..072429b 100644
--- a/panels/display/cc-display-panel.c
+++ b/panels/display/cc-display-panel.c
@@ -1429,8 +1429,8 @@ on_area_paint (FooScrollArea *area,
cairo_fill (cr);
cairo_translate (cr, x, y);
- paint_output (self, cr, self->priv->current_configuration, list->data,
- cc_display_panel_get_output_id (list->data),
+ paint_output (self, cr, self->priv->current_configuration, output,
+ cc_display_panel_get_output_id (output),
w * scale, h * scale);
cairo_restore (cr);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]