Code

noop: be more consistent with function names (get_pathvector => set_pathvector)
authorjohanengelen <johanengelen@users.sourceforge.net>
Thu, 26 Jun 2008 23:16:23 +0000 (23:16 +0000)
committerjohanengelen <johanengelen@users.sourceforge.net>
Thu, 26 Jun 2008 23:16:23 +0000 (23:16 +0000)
src/display/curve.cpp
src/display/curve.h
src/live_effects/effect.cpp
src/live_effects/lpe-spiro.cpp

index df1666d2e403f76297358366c1a159872c6f937d..1261cf9b0b968b9e59f2b6b9a0f59e4ac6e813ca 100644 (file)
@@ -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);
 }
 
 /**
index d46fa13b123f2cad594a99f9dffb537189a51495..0bb45677770704d3dbd9a8d61932f4ea96a6db4e 100644 (file)
@@ -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;
 
index 9326f54b99341972f8a335c6538422c4bd96ed35..9ee4105bc4da078f7b59fa561d16449c5ab91b0f 100644 (file)
@@ -304,7 +304,7 @@ Effect::doEffect (SPCurve * curve)
 
     std::vector<Geom::Path> result_pathv = doEffect_path(orig_pathv);
 
-    curve->set_pathv(result_pathv);
+    curve->set_pathvector(result_pathv);
 }
 
 std::vector<Geom::Path>
index 0ffe6a7f48505e451ce70151649310035467ba65..30c7b162cc083420ce6931f401dfc25374bd650b 100644 (file)
@@ -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);
     }
 }