[librsvg: 4/6] node: remove the Defs type
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 4/6] node: remove the Defs type
- Date: Fri, 1 Nov 2019 18:35:34 +0000 (UTC)
commit c423018a64c1f11bb8b47aadad72b88fe6ad1142
Author: Paolo Borelli <pborelli gnome org>
Date: Fri Nov 1 11:07:21 2019 +0100
node: remove the Defs type
It is a non-rendering node, we do not need it as a separate NodeType
rsvg_internals/src/create_node.rs | 2 +-
rsvg_internals/src/node.rs | 1 -
2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/create_node.rs b/rsvg_internals/src/create_node.rs
index baedde6d..e79fe85f 100644
--- a/rsvg_internals/src/create_node.rs
+++ b/rsvg_internals/src/create_node.rs
@@ -58,7 +58,7 @@ mod creators {
n!(create_circle, Circle, Circle);
n!(create_clip_path, ClipPath, ClipPath);
- n!(create_defs, Defs, NonRendering);
+ n!(create_defs, NonRendering, NonRendering);
n!(create_ellipse, Ellipse, Ellipse);
n!(create_fe_blend, FeBlend, FeBlend);
n!(create_fe_color_matrix, FeColorMatrix, FeColorMatrix);
diff --git a/rsvg_internals/src/node.rs b/rsvg_internals/src/node.rs
index de89b1a9..3e4a701d 100644
--- a/rsvg_internals/src/node.rs
+++ b/rsvg_internals/src/node.rs
@@ -398,7 +398,6 @@ pub enum NodeType {
Chars,
Circle,
ClipPath,
- Defs,
Ellipse,
Filter,
Group,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]