diff options
| author | root <root@jtx.marker.es> | 2013-10-05 00:49:20 +0000 |
|---|---|---|
| committer | root <root@jtx.marker.es> | 2013-10-05 00:49:20 +0000 |
| commit | 0de4a7013187366efbeeb5887191b6ea57445899 (patch) | |
| tree | 4403a23f086824c3f43a0d60853e625f5ce5c635 /src/object-edit.cpp | |
| parent | update to trunk (diff) | |
| parent | C++ (diff) | |
| download | inkscape-0de4a7013187366efbeeb5887191b6ea57445899.tar.gz inkscape-0de4a7013187366efbeeb5887191b6ea57445899.zip | |
update to trunk
(bzr r11950.1.159)
Diffstat (limited to 'src/object-edit.cpp')
| -rw-r--r-- | src/object-edit.cpp | 8 |
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); |
