summaryrefslogtreecommitdiffstats
path: root/src/sp-star.cpp
diff options
context:
space:
mode:
authorMenTaLguY <mental@rydia.net>2006-05-09 03:52:58 +0000
committermental <mental@users.sourceforge.net>2006-05-09 03:52:58 +0000
commit48e6b0819d64e02bd43c199c9afa12f26a485323 (patch)
tree9e7ef9cdd55a75cf222d513f91317d87e02d090f /src/sp-star.cpp
parentpartial GTKmmfication and HIGification by Jonathon Jongsma (diff)
downloadinkscape-48e6b0819d64e02bd43c199c9afa12f26a485323.tar.gz
inkscape-48e6b0819d64e02bd43c199c9afa12f26a485323.zip
eliminate direct accesses to SPCurve::bpath
(bzr r787)
Diffstat (limited to 'src/sp-star.cpp')
-rw-r--r--src/sp-star.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp-star.cpp b/src/sp-star.cpp
index eea11791f..04efd8e93 100644
--- a/src/sp-star.cpp
+++ b/src/sp-star.cpp
@@ -146,7 +146,7 @@ sp_star_write (SPObject *object, Inkscape::XML::Node *repr, guint flags)
}
sp_star_set_shape ((SPShape *) star);
- char *d = sp_svg_write_path (((SPShape *) star)->curve->bpath);
+ char *d = sp_svg_write_path (SP_CURVE_BPATH(((SPShape *) star)->curve));
repr->setAttribute("d", d);
g_free (d);