[librsvg: 11/18] create_node_and_register_id(): Renamed from rsvg_load_new_node()
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 11/18] create_node_and_register_id(): Renamed from rsvg_load_new_node()
- Date: Fri, 23 Nov 2018 22:32:25 +0000 (UTC)
commit dca518f99c3e82c7765c8f05c6f19a541ed0d2bc
Author: Federico Mena Quintero <federico gnome org>
Date: Fri Nov 23 13:17:51 2018 -0600
create_node_and_register_id(): Renamed from rsvg_load_new_node()
rsvg_internals/src/load.rs | 2 +-
rsvg_internals/src/xml.rs | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/rsvg_internals/src/load.rs b/rsvg_internals/src/load.rs
index 63c4a6b1..17581f6d 100644
--- a/rsvg_internals/src/load.rs
+++ b/rsvg_internals/src/load.rs
@@ -271,7 +271,7 @@ lazy_static! {
};
}
-pub fn rsvg_load_new_node(
+pub fn create_node_and_register_id(
name: &str,
parent: Option<&RsvgNode>,
pbag: &PropertyBag,
diff --git a/rsvg_internals/src/xml.rs b/rsvg_internals/src/xml.rs
index 1e492b6a..da8dea4f 100644
--- a/rsvg_internals/src/xml.rs
+++ b/rsvg_internals/src/xml.rs
@@ -13,7 +13,7 @@ use attributes::Attribute;
use css;
use defs::{Defs, RsvgDefs};
use handle::{self, RsvgHandle};
-use load::rsvg_load_new_node;
+use load::create_node_and_register_id;
use node::{node_new, Node, NodeType};
use property_bag::PropertyBag;
use structure::NodeSvg;
@@ -306,7 +306,7 @@ impl XmlState {
) -> Rc<Node> {
let defs = self.defs.as_mut().unwrap();
- let new_node = rsvg_load_new_node(name, parent, pbag, defs);
+ let new_node = create_node_and_register_id(name, parent, pbag, defs);
if let Some(parent) = parent {
parent.add_child(&new_node);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]