diff options
author | David Robillard <d@drobilla.net> | 2011-06-01 17:00:29 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-01 17:00:29 +0000 |
commit | ed626628b54e67dd9621c08d82a42afaed00c7ac (patch) | |
tree | cf621db4c44f07f75a6e6a3fb7f572cd2c3622cd /gtk2_ardour/canvas-simpleline.c | |
parent | a473d630eb165272992e90f8d854b1d66ec0be63 (diff) |
Delete trailing whitespace
git-svn-id: svn://localhost/ardour2/branches/3.0@9656 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/canvas-simpleline.c')
-rw-r--r-- | gtk2_ardour/canvas-simpleline.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gtk2_ardour/canvas-simpleline.c b/gtk2_ardour/canvas-simpleline.c index 6d58312855..83beb598e7 100644 --- a/gtk2_ardour/canvas-simpleline.c +++ b/gtk2_ardour/canvas-simpleline.c @@ -223,7 +223,7 @@ gnome_canvas_simpleline_set_property (GObject *object, case PROP_Y1: d = g_value_get_double (value); if (simpleline->y1 != d) { - simpleline->y1 = d; + simpleline->y1 = d; bounds_changed = TRUE; } break; @@ -310,7 +310,7 @@ gnome_canvas_simpleline_update (GnomeCanvasItem *item, double *affine, ArtSVP *c /* get current bounding box in parent-relative world coordinates */ - gnome_canvas_simpleline_bounds (item, &x1, &y1, &x2, &y2); + gnome_canvas_simpleline_bounds (item, &x1, &y1, &x2, &y2); /* convert parent-relative item coordinates to world coordinates */ @@ -325,7 +325,7 @@ gnome_canvas_simpleline_update (GnomeCanvasItem *item, double *affine, ArtSVP *c y2 = ceil (y2); /* force non-zero dimensionality for both axes */ - + if (x1 == x2) { x2 += 1.0; } @@ -375,12 +375,12 @@ gnome_canvas_simpleline_render (GnomeCanvasItem *item, x1 = simpleline->cx1; x2 = simpleline->cx2; y1 = simpleline->cy1; - + if (buf->is_bg) { gnome_canvas_buf_ensure_buf (buf); buf->is_bg = FALSE; } - + if (simpleline->x1 != simpleline->x2) { PAINT_HORIZA(buf, simpleline->r, simpleline->g, simpleline->b, simpleline->a, x1, x2, y1); @@ -388,7 +388,7 @@ gnome_canvas_simpleline_render (GnomeCanvasItem *item, y2 = simpleline->cy2; PAINT_VERTA (buf, simpleline->r, simpleline->g, simpleline->b, simpleline->a, x1, y1, y2); - + } } |