summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 35791bb)
raw | patch | inline | side by side (parent: 35791bb)
author | mental <mental@users.sourceforge.net> | |
Sun, 21 Jan 2007 18:52:00 +0000 (18:52 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Sun, 21 Jan 2007 18:52:00 +0000 (18:52 +0000) |
src/xml/repr.h | patch | blob | history |
diff --git a/src/xml/repr.h b/src/xml/repr.h
index f930ed0c52525c65017f648cd8a59513211cbdcb..ac7ca3218c28d6be2025aae9aa4e1d1868b6f898 100644 (file)
--- a/src/xml/repr.h
+++ b/src/xml/repr.h
*
* \arg
* Q: How do I create a new Inkscape::XML::Node? <br>
- * A: Use "sp_repr_new*". Then attach it to a parent somewhere with
+ * A: Use the appropriate create* method on Inkscape::XML::Document,
* parent->appendChild(child), and then use Inkscape::GC::release(child) to
* let go of it (the parent will hold it in memory).
*
char const *sp_xml_ns_prefix_uri(gchar const *prefix);
-Inkscape::XML::Node *sp_repr_new(gchar const *name);
-Inkscape::XML::Node *sp_repr_new_text(gchar const *content);
-Inkscape::XML::Node *sp_repr_new_comment(gchar const *comment);
+/* replaced by create* methods on Inkscape::XML::Document */
+Inkscape::XML::Node *sp_repr_new(gchar const *name) __attribute__ ((deprecated));
+Inkscape::XML::Node *sp_repr_new_text(gchar const *content) __attribute__ ((deprecated));
+Inkscape::XML::Node *sp_repr_new_comment(gchar const *comment) __attribute__ ((deprecated));
/*inline Inkscape::XML::Node *sp_repr_duplicate(Inkscape::XML::Node const *repr) {
return repr->duplicate();