From d955f60393f4f85b0269346f37b4481a1c70205a Mon Sep 17 00:00:00 2001 From: "Johan B. C. Engelen" Date: Mon, 5 May 2008 19:00:20 +0000 Subject: struct SPCurve => class SPCurve change all sp_curve_methods functions to SPCurve::methods. (bzr r5609) --- src/display/canvas-bpath.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/display/canvas-bpath.cpp') diff --git a/src/display/canvas-bpath.cpp b/src/display/canvas-bpath.cpp index ed317722c..6aa413623 100644 --- a/src/display/canvas-bpath.cpp +++ b/src/display/canvas-bpath.cpp @@ -103,7 +103,7 @@ sp_canvas_bpath_destroy (GtkObject *object) cbp->stroke_shp = NULL; } if (cbp->curve) { - cbp->curve = sp_curve_unref (cbp->curve); + cbp->curve = cbp->curve->unref(); } if (GTK_OBJECT_CLASS (parent_class)->destroy) @@ -272,11 +272,11 @@ sp_canvas_bpath_set_bpath (SPCanvasBPath *cbp, SPCurve *curve) g_return_if_fail (SP_IS_CANVAS_BPATH (cbp)); if (cbp->curve) { - cbp->curve = sp_curve_unref (cbp->curve); + cbp->curve = cbp->curve->unref(); } if (curve) { - cbp->curve = sp_curve_ref (curve); + cbp->curve = curve->ref(); } sp_canvas_item_request_update (SP_CANVAS_ITEM (cbp)); -- cgit v1.2.3