[goffice] whitespace



commit d4891c7f38da2acf91a4aeed08e51bb7ab5f32cd
Author: Morten Welinder <terra gnome org>
Date:   Wed Oct 14 20:43:01 2009 -0400

    whitespace

 goffice/canvas/goc-line.c        |    3 ++-
 goffice/canvas/goc-styled-item.c |    5 ++---
 goffice/utils/go-style.c         |    3 ++-
 3 files changed, 6 insertions(+), 5 deletions(-)
---
diff --git a/goffice/canvas/goc-line.c b/goffice/canvas/goc-line.c
index 8ced147..695d6bd 100644
--- a/goffice/canvas/goc-line.c
+++ b/goffice/canvas/goc-line.c
@@ -257,7 +257,8 @@ goc_line_draw (GocItem const *item, cairo_t *cr)
 	draw_arrow (&line->end_arrow, cr, style,
 		    &endx, &endy, phi);
 
-        if ((endx != 0. || endy!= 0.) && go_styled_object_set_cairo_line (GO_STYLED_OBJECT (item), cr)) {
+        if ((endx != 0. || endy!= 0.) &&
+	    go_styled_object_set_cairo_line (GO_STYLED_OBJECT (item), cr)) {
 		/* try to avoid horizontal and vertical lines between two pixels */
 		cairo_move_to (cr, 0., 0.);
 		endx = (endx > 0.)? ceil (endx): floor (endx);
diff --git a/goffice/canvas/goc-styled-item.c b/goffice/canvas/goc-styled-item.c
index f1088d6..a00c3d7 100644
--- a/goffice/canvas/goc-styled-item.c
+++ b/goffice/canvas/goc-styled-item.c
@@ -105,7 +105,7 @@ goc_styled_item_finalize (GObject *obj)
 		gsi->style = NULL;
 	}
 
-	(*parent_klass->finalize) (obj);
+	parent_klass->finalize (obj);
 }
 
 static void
@@ -174,8 +174,7 @@ goc_styled_item_init (GocStyledItem *gsi)
 }
 
 static gboolean
-goc_styled_item_set_style (GOStyledObject *gsi,
-			     GOStyle *style)
+goc_styled_item_set_style (GOStyledObject *gsi, GOStyle *style)
 {
 	gboolean resize;
 	GocStyledItem *ggsi;
diff --git a/goffice/utils/go-style.c b/goffice/utils/go-style.c
index 1aa2c60..72478ac 100644
--- a/goffice/utils/go-style.c
+++ b/goffice/utils/go-style.c
@@ -2160,7 +2160,8 @@ go_style_set_cairo_line (GOStyle const *style, cairo_t *cr)
 	cairo_set_line_join (cr, style->line.join);
 	cairo_set_miter_limit (cr, style->line.miter_limit);
 	line_dash = go_line_dash_get_sequence (style->line.dash_type, width);
-	if (style->line.cap == CAIRO_LINE_CAP_BUTT && style->line.dash_type != GO_LINE_SOLID) {
+	if (style->line.cap == CAIRO_LINE_CAP_BUTT &&
+	    style->line.dash_type != GO_LINE_SOLID) {
 		unsigned i;
 		for (i = 0; i < line_dash->n_dash; i++)
 			if (line_dash->dash[i] == 0.)



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