From: Krzysztof KosiƄski Date: Sun, 12 Dec 2010 23:14:29 +0000 (+0100) Subject: Add a warning to sp-object.h to not use some of the new methods X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c77f1e2231c42480a434c1da47c2132852590496;p=inkscape.git Add a warning to sp-object.h to not use some of the new methods in SPObject outside of the SP tree --- diff --git a/src/sp-object.h b/src/sp-object.h index 5d3183d9c..8581fd35a 100644 --- a/src/sp-object.h +++ b/src/sp-object.h @@ -531,6 +531,11 @@ public: CollectionPolicy _collection_policy; gchar *_label; mutable gchar *_default_label; + + // WARNING: + // Methods below should not be used outside of the SP tree, + // as they operate directly on the XML representation. + // In future, they will be made protected. void attach(SPObject *object, SPObject *prev); void reorder(SPObject *prev); void detach(SPObject *object);