From 8811cd67d3643f5fcdc46ea787ccab8bfbe2cf3c Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 17 Oct 2010 14:15:07 +0200 Subject: gnome-canvas: Convert canvas item transformation matrix to cairo Also update the GnomeCanvasItem.update vfunc to take a cairo_matrix_t and no longer pass the clip_path (what was it used for anyway?). --- widgets/text/e-text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'widgets/text/e-text.c') diff --git a/widgets/text/e-text.c b/widgets/text/e-text.c index 2f3e567a4a..a21bde7d8b 100644 --- a/widgets/text/e-text.c +++ b/widgets/text/e-text.c @@ -1131,7 +1131,7 @@ e_text_reflow (GnomeCanvasItem *item, gint flags) /* Update handler for the text item */ static void -e_text_update (GnomeCanvasItem *item, gdouble *affine, ArtSVP *clip_path, gint flags) +e_text_update (GnomeCanvasItem *item, const cairo_matrix_t *i2c, gint flags) { EText *text; gdouble x1, y1, x2, y2; @@ -1140,7 +1140,7 @@ e_text_update (GnomeCanvasItem *item, gdouble *affine, ArtSVP *clip_path, gint f if (GNOME_CANVAS_ITEM_CLASS (e_text_parent_class)->update) GNOME_CANVAS_ITEM_CLASS (e_text_parent_class)->update ( - item, affine, clip_path, flags); + item, i2c, flags); if ( text->needs_recalc_bounds || (flags & GNOME_CANVAS_UPDATE_AFFINE)) { -- cgit v1.2.3