From df3d0b10b528c77cf1cbc0b627f00de6cba8e966 Mon Sep 17 00:00:00 2001 From: Krzysztof Kosi??ski Date: Mon, 13 Dec 2010 00:14:29 +0100 Subject: Add a warning to sp-object.h to not use some of the new methods in SPObject outside of the SP tree (bzr r9951) --- src/sp-object.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- cgit v1.2.3