From a2fbdfc8e80d3d1845bf0d5df989726ae2ffd5bf Mon Sep 17 00:00:00 2001 From: johanengelen Date: Thu, 26 Jun 2008 23:16:23 +0000 Subject: [PATCH] noop: be more consistent with function names (get_pathvector => set_pathvector) --- src/display/curve.cpp | 4 ++-- src/display/curve.h | 2 +- src/live_effects/effect.cpp | 2 +- src/live_effects/lpe-spiro.cpp | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/display/curve.cpp b/src/display/curve.cpp index df1666d2e..1261cf9b0 100644 --- a/src/display/curve.cpp +++ b/src/display/curve.cpp @@ -226,7 +226,7 @@ SPCurve::~SPCurve() /* Methods */ void -SPCurve::set_pathv(Geom::PathVector const & new_pathv) +SPCurve::set_pathvector(Geom::PathVector const & new_pathv) { _pathv = new_pathv; @@ -251,7 +251,7 @@ SPCurve::set_pathv(Geom::PathVector const & new_pathv) _substart = i; _closed = sp_bpath_closed(_bpath); - debug_check("SPCurve::set_pathv", this); + debug_check("SPCurve::set_pathvector", this); } /** diff --git a/src/display/curve.h b/src/display/curve.h index d46fa13b1..0bb456777 100644 --- a/src/display/curve.h +++ b/src/display/curve.h @@ -40,7 +40,7 @@ public: virtual ~SPCurve(); - void set_pathv(Geom::PathVector const & new_pathv); + void set_pathvector(Geom::PathVector const & new_pathv); NArtBpath const * get_bpath() const; Geom::PathVector const & get_pathvector() const; diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 9326f54b9..9ee4105bc 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -304,7 +304,7 @@ Effect::doEffect (SPCurve * curve) std::vector result_pathv = doEffect_path(orig_pathv); - curve->set_pathv(result_pathv); + curve->set_pathvector(result_pathv); } std::vector diff --git a/src/live_effects/lpe-spiro.cpp b/src/live_effects/lpe-spiro.cpp index 0ffe6a7f4..30c7b162c 100644 --- a/src/live_effects/lpe-spiro.cpp +++ b/src/live_effects/lpe-spiro.cpp @@ -211,7 +211,7 @@ LPESpiro::doEffect(SPCurve * curve) g_warning("Exception during LPE Spiro execution. \n %s", e.what()); SP_ACTIVE_DESKTOP->messageStack()->flash( Inkscape::WARNING_MESSAGE, _("An exception occurred during execution of the Spiro Path Effect.") ); - curve->set_pathv(original_pathv); + curve->set_pathvector(original_pathv); } } -- 2.30.2