summaryrefslogtreecommitdiff
path: root/src/convert/clippath.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/convert/clippath.rs')
-rw-r--r--src/convert/clippath.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/convert/clippath.rs b/src/convert/clippath.rs
index fbe944d..ae9abde 100644
--- a/src/convert/clippath.rs
+++ b/src/convert/clippath.rs
@@ -6,7 +6,7 @@
use svgdom;
// self
-use tree;
+use tree::prelude::*;
use short::{
AId,
EId,
@@ -27,7 +27,7 @@ pub fn convert(
) {
let attrs = node.attributes();
- let clip_node = rtree.append_defs(
+ let clip_node = rtree.append_to_defs(
tree::NodeKind::ClipPath(tree::ClipPath {
id: node.id().clone(),
units: super::convert_element_units(&attrs, AId::ClipPathUnits),