[librsvg] Fix typo (overriden -> overridden)
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg] Fix typo (overriden -> overridden)
- Date: Wed, 13 Jun 2018 16:08:53 +0000 (UTC)
commit ecc02857b97733df97ea6b11da0a9248a569af9d
Author: Paolo Borelli <pborelli gnome org>
Date: Mon Jun 11 22:33:42 2018 +0200
Fix typo (overriden -> overridden)
librsvg/rsvg-load.c | 2 +-
librsvg/rsvg-private.h | 2 +-
rsvg_internals/src/lib.rs | 2 +-
rsvg_internals/src/marker.rs | 2 +-
rsvg_internals/src/node.rs | 10 +++++-----
5 files changed, 9 insertions(+), 9 deletions(-)
---
diff --git a/librsvg/rsvg-load.c b/librsvg/rsvg-load.c
index 13f0731f..0c42eda3 100644
--- a/librsvg/rsvg-load.c
+++ b/librsvg/rsvg-load.c
@@ -311,7 +311,7 @@ node_set_atts (RsvgNode *node,
rsvg_parse_style_attrs (handle, node, element_name, atts);
}
- rsvg_node_set_overriden_properties (node);
+ rsvg_node_set_overridden_properties (node);
}
static void
diff --git a/librsvg/rsvg-private.h b/librsvg/rsvg-private.h
index 55e31f8f..23d19345 100644
--- a/librsvg/rsvg-private.h
+++ b/librsvg/rsvg-private.h
@@ -327,7 +327,7 @@ void rsvg_node_set_atts (RsvgNode *node, RsvgHandle *handle, RsvgPropertyBag att
/* Implemented in rust/src/node.rs */
G_GNUC_INTERNAL
-void rsvg_node_set_overriden_properties (RsvgNode *node);
+void rsvg_node_set_overridden_properties (RsvgNode *node);
/* Implemented in rust/src/node.rs */
G_GNUC_INTERNAL
diff --git a/rsvg_internals/src/lib.rs b/rsvg_internals/src/lib.rs
index 56986e84..0e38d32a 100644
--- a/rsvg_internals/src/lib.rs
+++ b/rsvg_internals/src/lib.rs
@@ -85,7 +85,7 @@ pub use node::{
rsvg_node_register_in_defs,
rsvg_node_set_attribute_parse_error,
rsvg_node_set_atts,
- rsvg_node_set_overriden_properties,
+ rsvg_node_set_overridden_properties,
rsvg_node_unref,
rsvg_root_node_cascade,
};
diff --git a/rsvg_internals/src/marker.rs b/rsvg_internals/src/marker.rs
index ed460ebf..2706cb29 100644
--- a/rsvg_internals/src/marker.rs
+++ b/rsvg_internals/src/marker.rs
@@ -245,7 +245,7 @@ impl NodeTrait for NodeMarker {
Ok(())
}
- fn set_overriden_properties(&self, state: &mut State) {
+ fn set_overridden_properties(&self, state: &mut State) {
// markers are always displayed, even if <marker> or its ancestors are display:none
state.values.display = SpecifiedValue::Specified(Default::default());
}
diff --git a/rsvg_internals/src/node.rs b/rsvg_internals/src/node.rs
index ec0ffc23..9339e827 100644
--- a/rsvg_internals/src/node.rs
+++ b/rsvg_internals/src/node.rs
@@ -117,7 +117,7 @@ pub trait NodeTrait: Downcast {
/// Sets any special-cased properties that the node may have, that are different
/// from defaults in the node's `State`.
- fn set_overriden_properties(&self, _state: &mut State) {}
+ fn set_overridden_properties(&self, _state: &mut State) {}
fn draw(
&self,
@@ -369,9 +369,9 @@ impl Node {
*self.result.borrow_mut() = self.node_impl.set_atts(node, handle, pbag);
}
- pub fn set_overriden_properties(&self) {
+ pub fn set_overridden_properties(&self) {
let mut state = self.get_state_mut();
- self.node_impl.set_overriden_properties(&mut state);
+ self.node_impl.set_overridden_properties(&mut state);
}
pub fn draw(
@@ -674,12 +674,12 @@ pub extern "C" fn rsvg_node_set_atts(
}
#[no_mangle]
-pub extern "C" fn rsvg_node_set_overriden_properties(raw_node: *mut RsvgNode) {
+pub extern "C" fn rsvg_node_set_overridden_properties(raw_node: *mut RsvgNode) {
assert!(!raw_node.is_null());
let node: &RsvgNode = unsafe { &*raw_node };
- node.set_overriden_properties();
+ node.set_overridden_properties();
}
#[no_mangle]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]