[librsvg: 1/7] node: remove marker types
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 1/7] node: remove marker types
- Date: Mon, 3 Dec 2018 19:53:30 +0000 (UTC)
commit 6b224e55228c5ad6aabc80fd747b05cf1fc1fbe9
Author: Paolo Borelli <pborelli gnome org>
Date: Sun Dec 2 11:10:40 2018 +0100
node: remove marker types
These were only needed in C
rsvg_internals/src/node.rs | 4 ----
1 file changed, 4 deletions(-)
---
diff --git a/rsvg_internals/src/node.rs b/rsvg_internals/src/node.rs
index 5ce01b16..a75175cc 100644
--- a/rsvg_internals/src/node.rs
+++ b/rsvg_internals/src/node.rs
@@ -175,8 +175,6 @@ pub struct Children {
#[derive(Debug, Copy, Clone, Eq, PartialEq, Ord, PartialOrd)]
pub enum NodeType {
- Invalid = 0,
-
Chars,
Circle,
ClipPath,
@@ -209,7 +207,6 @@ pub enum NodeType {
Use,
// Filter primitives
- FilterPrimitiveFirst, // just a marker; not a valid type
FilterPrimitiveBlend,
FilterPrimitiveColorMatrix,
FilterPrimitiveComponentTransfer,
@@ -227,7 +224,6 @@ pub enum NodeType {
FilterPrimitiveSpecularLighting,
FilterPrimitiveTile,
FilterPrimitiveTurbulence,
- FilterPrimitiveLast, // just a marker; not a valid type
}
impl Node {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]