diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-08-29 22:44:16 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-08-29 23:22:28 +0800 |
commit | 4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9 (patch) | |
tree | ce1154c5d7487fbd566c5b68df90fb8259b4604e /libgnomecanvas/gnome-canvas-polygon.c | |
parent | e6c42ecc596fb16247e8d1d591a5d244a61d0e24 (diff) | |
download | gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.gz gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.bz2 gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.lz gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.xz gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.tar.zst gsoc2013-evolution-4c05b9e925764a6035e3d0fcbfc1f0458d36f5d9.zip |
Coding style and whitespace cleanup.
Diffstat (limited to 'libgnomecanvas/gnome-canvas-polygon.c')
-rw-r--r-- | libgnomecanvas/gnome-canvas-polygon.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libgnomecanvas/gnome-canvas-polygon.c b/libgnomecanvas/gnome-canvas-polygon.c index e805a652e4..fe1d55b698 100644 --- a/libgnomecanvas/gnome-canvas-polygon.c +++ b/libgnomecanvas/gnome-canvas-polygon.c @@ -138,7 +138,7 @@ gnome_canvas_polygon_destroy (GtkObject *object) /* remember, destroy can be run multiple times! */ if (poly->path_def) - gnome_canvas_path_def_unref(poly->path_def); + gnome_canvas_path_def_unref (poly->path_def); poly->path_def = NULL; @@ -152,16 +152,16 @@ set_points (GnomeCanvasPolygon *poly, GnomeCanvasPoints *points) gint i; if (poly->path_def) - gnome_canvas_path_def_unref(poly->path_def); + gnome_canvas_path_def_unref (poly->path_def); if (!points) { - poly->path_def = gnome_canvas_path_def_new(); + poly->path_def = gnome_canvas_path_def_new (); gnome_canvas_shape_set_path_def (GNOME_CANVAS_SHAPE (poly), poly->path_def); return; } /* Optomize the path def to the number of points */ - poly->path_def = gnome_canvas_path_def_new_sized(points->num_points+1); + poly->path_def = gnome_canvas_path_def_new_sized (points->num_points+1); #if 0 /* No need for explicit duplicate, as closepaths does it for us (Lauris) */ @@ -173,7 +173,7 @@ set_points (GnomeCanvasPolygon *poly, GnomeCanvasPoints *points) gnome_canvas_path_def_moveto (poly->path_def, points->coords[0], points->coords[1]); for (i = 1; i < points->num_points; i++) { - gnome_canvas_path_def_lineto(poly->path_def, points->coords[i * 2], points->coords[(i * 2) + 1]); + gnome_canvas_path_def_lineto (poly->path_def, points->coords[i * 2], points->coords[(i * 2) + 1]); } gnome_canvas_path_def_closepath (poly->path_def); |