summaryrefslogtreecommitdiffstats
path: root/src/object-edit.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-10-05 00:53:12 +0000
committerJabiertxof <jtx@jtx.marker.es>2013-10-05 00:53:12 +0000
commit995c8028b521eb7d17334e6f6d34bbb54949a48b (patch)
tree6d2e811cfbfe459d31edfd9234bdda8bab57788b /src/object-edit.cpp
parentupdate to trunk (diff)
parentC++ (diff)
downloadinkscape-995c8028b521eb7d17334e6f6d34bbb54949a48b.tar.gz
inkscape-995c8028b521eb7d17334e6f6d34bbb54949a48b.zip
update to trunk
(bzr r12588.1.11)
Diffstat (limited to 'src/object-edit.cpp')
-rw-r--r--src/object-edit.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/object-edit.cpp b/src/object-edit.cpp
index 28786bf66..2021b91f5 100644
--- a/src/object-edit.cpp
+++ b/src/object-edit.cpp
@@ -46,7 +46,7 @@ static KnotHolder *sp_lpe_knot_holder(SPItem *item, SPDesktop *desktop)
{
KnotHolder *knot_holder = new KnotHolder(desktop, item, NULL);
- Inkscape::LivePathEffect::Effect *effect = sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item));
+ Inkscape::LivePathEffect::Effect *effect = SP_LPE_ITEM(item)->getCurrentLPE();
effect->addHandles(knot_holder, desktop, item);
return knot_holder;
@@ -61,9 +61,9 @@ KnotHolder *createKnotHolder(SPItem *item, SPDesktop *desktop)
KnotHolder *knotholder = NULL;
if (SP_IS_LPE_ITEM(item) &&
- sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item)) &&
- sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item))->isVisible() &&
- sp_lpe_item_get_current_lpe(SP_LPE_ITEM(item))->providesKnotholder()) {
+ SP_LPE_ITEM(item)->getCurrentLPE() &&
+ SP_LPE_ITEM(item)->getCurrentLPE()->isVisible() &&
+ SP_LPE_ITEM(item)->getCurrentLPE()->providesKnotholder()) {
knotholder = sp_lpe_knot_holder(item, desktop);
} else if (SP_IS_RECT(item)) {
knotholder = new RectKnotHolder(desktop, item, NULL);