index fed07ecf366e079802cdc76c8b452546f6c08084..55513ccb83a9ab8b160212608d55b349c0065514 100644 (file)
@@ -104,9 +104,9 @@ sp_fepointlight_build(SPObject *object, SPDocument *document, Inkscape::XML::Nod
}
//Read values of key attributes from XML nodes into object.
- sp_object_read_attr(object, "x");
- sp_object_read_attr(object, "y");
- sp_object_read_attr(object, "z");
+ object->readAttr( "x");
+ object->readAttr( "y");
+ object->readAttr( "z");
//is this necessary?
document->add_resource("fepointlight", object);
if (flags & SP_OBJECT_MODIFIED_FLAG) {
/* do something to trigger redisplay, updates? */
- sp_object_read_attr(object, "x");
- sp_object_read_attr(object, "y");
- sp_object_read_attr(object, "z");
+ object->readAttr( "x");
+ object->readAttr( "y");
+ object->readAttr( "z");
}
if (((SPObjectClass *) fePointLight_parent_class)->update) {