From a797dcb8e284cab19f60b3eff93a53a62abda263 Mon Sep 17 00:00:00 2001 From: johanengelen Date: Wed, 2 Jan 2008 18:23:25 +0000 Subject: [PATCH] fix typo notepath => nodepath --- src/live_effects/effect.cpp | 2 +- src/live_effects/effect.h | 2 +- src/live_effects/lpe-gears.cpp | 4 ++-- src/live_effects/lpe-gears.h | 2 +- src/live_effects/parameter/parameter.h | 2 +- src/live_effects/parameter/path.cpp | 2 +- src/live_effects/parameter/path.h | 2 +- src/nodepath.cpp | 4 ++-- 8 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 0771edb47..c664af049 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -348,7 +348,7 @@ Effect::resetDefaults(SPItem * /*item*/) } void -Effect::setup_notepath(Inkscape::NodePath::Path *np) +Effect::setup_nodepath(Inkscape::NodePath::Path *np) { np->show_helperpath = true; np->helperpath_rgba = 0xff0000ff; diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index 4c1e4e0eb..535cec0b6 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -78,7 +78,7 @@ public: virtual void resetDefaults(SPItem * item); - virtual void setup_notepath(Inkscape::NodePath::Path *np); + virtual void setup_nodepath(Inkscape::NodePath::Path *np); virtual void transform_multiply(Geom::Matrix const& postmul, bool set); diff --git a/src/live_effects/lpe-gears.cpp b/src/live_effects/lpe-gears.cpp index 85eee66f9..00709f66c 100644 --- a/src/live_effects/lpe-gears.cpp +++ b/src/live_effects/lpe-gears.cpp @@ -255,9 +255,9 @@ LPEGears::doEffect_path (std::vector & path_in) } void -LPEGears::setup_notepath(Inkscape::NodePath::Path *np) +LPEGears::setup_nodepath(Inkscape::NodePath::Path *np) { - Effect::setup_notepath(np); + Effect::setup_nodepath(np); np->straight_path = true; } diff --git a/src/live_effects/lpe-gears.h b/src/live_effects/lpe-gears.h index fe210adda..d046c3640 100644 --- a/src/live_effects/lpe-gears.h +++ b/src/live_effects/lpe-gears.h @@ -24,7 +24,7 @@ public: virtual std::vector doEffect_path (std::vector & path_in); - virtual void setup_notepath(Inkscape::NodePath::Path *np); + virtual void setup_nodepath(Inkscape::NodePath::Path *np); private: ScalarParam teeth; diff --git a/src/live_effects/parameter/parameter.h b/src/live_effects/parameter/parameter.h index bd3fe906e..08af7f928 100644 --- a/src/live_effects/parameter/parameter.h +++ b/src/live_effects/parameter/parameter.h @@ -53,7 +53,7 @@ public: virtual Glib::ustring * param_getTooltip() { return ¶m_tooltip; }; virtual void param_editOncanvas(SPItem * /*item*/, SPDesktop * /*dt*/) {}; - virtual void param_setup_notepath(Inkscape::NodePath::Path */*np*/) {}; + virtual void param_setup_nodepath(Inkscape::NodePath::Path */*np*/) {}; virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/) {}; diff --git a/src/live_effects/parameter/path.cpp b/src/live_effects/parameter/path.cpp index 53e15c9a5..9bc81d521 100644 --- a/src/live_effects/parameter/path.cpp +++ b/src/live_effects/parameter/path.cpp @@ -142,7 +142,7 @@ PathParam::param_editOncanvas(SPItem * item, SPDesktop * dt) } void -PathParam::param_setup_notepath(Inkscape::NodePath::Path *np) +PathParam::param_setup_nodepath(Inkscape::NodePath::Path *np) { np->show_helperpath = true; np->helperpath_rgba = 0x009000ff; diff --git a/src/live_effects/parameter/path.h b/src/live_effects/parameter/path.h index 696f27a87..a269f3e4f 100644 --- a/src/live_effects/parameter/path.h +++ b/src/live_effects/parameter/path.h @@ -47,7 +47,7 @@ public: void param_set_and_write_new_value (Geom::Piecewise > newpath); void param_editOncanvas(SPItem * item, SPDesktop * dt); - void param_setup_notepath(Inkscape::NodePath::Path *np); + void param_setup_nodepath(Inkscape::NodePath::Path *np); virtual void param_transform_multiply(Geom::Matrix const& /*postmul*/, bool /*set*/) {}; diff --git a/src/nodepath.cpp b/src/nodepath.cpp index 4c0727d15..38552f7f7 100644 --- a/src/nodepath.cpp +++ b/src/nodepath.cpp @@ -222,7 +222,7 @@ Inkscape::NodePath::Path *sp_nodepath_new(SPDesktop *desktop, SPObject *object, np->repr_nodetypes_key = g_strconcat(np->repr_key, "-nodetypes", NULL); Inkscape::LivePathEffect::Parameter *lpeparam = LIVEPATHEFFECT(object)->lpe->getParameter(repr_key_in); if (lpeparam) { - lpeparam->param_setup_notepath(np); + lpeparam->param_setup_nodepath(np); } } else { np->repr_nodetypes_key = g_strdup("sodipodi:nodetypes"); @@ -231,7 +231,7 @@ Inkscape::NodePath::Path *sp_nodepath_new(SPDesktop *desktop, SPObject *object, LivePathEffectObject *lpeobj = sp_shape_get_livepatheffectobject(SP_SHAPE(np->object)); if (lpeobj && lpeobj->lpe) { - lpeobj->lpe->setup_notepath(np); + lpeobj->lpe->setup_nodepath(np); } } else { np->repr_key = g_strdup("d"); -- 2.30.2