[evolution/rendering-cleanup] Fix typos in gnome_canvas_shape_bounds().



commit 8cfdf59a34f26e2f159e1ab562c0502051131f2a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Thu Oct 28 19:19:04 2010 -0400

    Fix typos in gnome_canvas_shape_bounds().

 libgnomecanvas/gnome-canvas-shape.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgnomecanvas/gnome-canvas-shape.c b/libgnomecanvas/gnome-canvas-shape.c
index 708ced2..24db703 100644
--- a/libgnomecanvas/gnome-canvas-shape.c
+++ b/libgnomecanvas/gnome-canvas-shape.c
@@ -506,9 +506,9 @@ gnome_canvas_shape_bounds (GnomeCanvasItem *item, gdouble *x1, gdouble *y1, gdou
         cairo_append_path (cr, shape->priv->path);
 
         if (gnome_canvas_shape_setup_for_stroke (shape, cr))
-                cairo_stroke_extents (cr, x1, x2, y1, y2);
+                cairo_stroke_extents (cr, x1, y1, x2, y2);
         else if (gnome_canvas_shape_setup_for_fill (shape, cr))
-                cairo_fill_extents (cr, x1, x2, y1, y2);
+                cairo_fill_extents (cr, x1, y1, x2, y2);
         else {
           *x1 = *x2 = *y1 = *y2 = 0;
         }



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