diff options
Diffstat (limited to 'src/xml/repr.cpp')
| -rw-r--r-- | src/xml/repr.cpp | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/xml/repr.cpp b/src/xml/repr.cpp index c6943a252..be226a357 100644 --- a/src/xml/repr.cpp +++ b/src/xml/repr.cpp @@ -30,32 +30,6 @@ using Inkscape::Util::share_string; -/// Returns new node. -Inkscape::XML::Node * -sp_repr_new(gchar const *name) -{ - g_return_val_if_fail(name != NULL, NULL); - g_return_val_if_fail(*name != '\0', NULL); - - return new Inkscape::XML::ElementNode(g_quark_from_string(name)); -} - -/// Returns new textnode with content. See Inkscape::XML::TextNode. -Inkscape::XML::Node * -sp_repr_new_text(gchar const *content) -{ - g_return_val_if_fail(content != NULL, NULL); - return new Inkscape::XML::TextNode(share_string(content)); -} - -/// Returns new commentnode with comment. See Inkscape::XML::CommentNode. -Inkscape::XML::Node * -sp_repr_new_comment(gchar const *comment) -{ - g_return_val_if_fail(comment != NULL, NULL); - return new Inkscape::XML::CommentNode(share_string(comment)); -} - /// Returns new document having as first child a node named rootname. Inkscape::XML::Document * sp_repr_document_new(char const *rootname) |
