diff --git a/src/shape-editor.cpp b/src/shape-editor.cpp
index bfe407957c8f98aa982d83deb45a70bd173aa919..dc1ec1c7e2f7b8623c3aaa6a0325ac0e1660dc5b 100644 (file)
--- a/src/shape-editor.cpp
+++ b/src/shape-editor.cpp
/** Please note that this function only works for path parameters.
* All other parameters probably will crash Inkscape!
*/
-void ShapeEditor::set_item_lpe_path_parameter(SPItem *item, SPObject *lpeobject, const char * key)
+void ShapeEditor::set_item_lpe_path_parameter(SPItem *item, LivePathEffectObject *lpeobject, const char * key)
{
unset_item(SH_NODEPATH);
case SH_NODEPATH:
if ( (nodepath) && (IS_LIVEPATHEFFECT(nodepath->object)) ) {
char * key = g_strdup(nodepath->repr_key);
- set_item_lpe_path_parameter(nodepath->item, nodepath->object, key); // the above checks for nodepath, so it is indeed a path that we are editing
+ set_item_lpe_path_parameter(nodepath->item, LIVEPATHEFFECT(nodepath->object), key); // the above checks for nodepath, so it is indeed a path that we are editing
g_free(key);
} else {
set_item(SP_ITEM(obj), SH_NODEPATH);