diff options
Diffstat (limited to 'src/live_effects')
| -rw-r--r-- | src/live_effects/effect.cpp | 2 | ||||
| -rw-r--r-- | src/live_effects/effect.h | 2 | ||||
| -rw-r--r-- | src/live_effects/lpeobject.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/src/live_effects/effect.cpp b/src/live_effects/effect.cpp index 105fdea32..623879ac5 100644 --- a/src/live_effects/effect.cpp +++ b/src/live_effects/effect.cpp @@ -270,7 +270,7 @@ void Effect::createAndApply(const char* name, SPDocument *doc, SPItem *item) Inkscape::GC::release(repr); gchar *href = g_strdup_printf("#%s", repr_id); - sp_lpe_item_add_path_effect(SP_LPE_ITEM(item), href, true); + SP_LPE_ITEM(item)->addPathEffect(href, true); g_free(href); } diff --git a/src/live_effects/effect.h b/src/live_effects/effect.h index f7a7155b0..b9d86628f 100644 --- a/src/live_effects/effect.h +++ b/src/live_effects/effect.h @@ -66,7 +66,7 @@ public: /* * isReady() indicates whether all preparations which are necessary to apply the LPE are done, * e.g., waiting for a parameter path either before the effect is created or when it needs a - * path as argument. This is set in sp_lpe_item_add_path_effect(). + * path as argument. This is set in SPLPEItem::addPathEffect(). */ inline bool isReady() const { return is_ready; } inline void setReady(bool ready = true) { is_ready = ready; } diff --git a/src/live_effects/lpeobject.cpp b/src/live_effects/lpeobject.cpp index d61f2b2fa..d92c94d01 100644 --- a/src/live_effects/lpeobject.cpp +++ b/src/live_effects/lpeobject.cpp @@ -181,7 +181,7 @@ livepatheffect_on_repr_attr_changed ( Inkscape::XML::Node * /*repr*/, /** * If this has other users, create a new private duplicate and return it * returns 'this' when no forking was necessary (and therefore no duplicate was made) - * Check out sp_lpe_item_fork_path_effects_if_necessary ! + * Check out SPLPEItem::forkPathEffectsIfNecessary ! */ LivePathEffectObject *LivePathEffectObject::fork_private_if_necessary(unsigned int nr_of_allowed_users) { |
