diff options
| author | Krzysztof Kosi??ski <tweenk.pl@gmail.com> | 2010-12-12 23:14:29 +0000 |
|---|---|---|
| committer | Krzysztof KosiĆski <tweenk.pl@gmail.com> | 2010-12-12 23:14:29 +0000 |
| commit | df3d0b10b528c77cf1cbc0b627f00de6cba8e966 (patch) | |
| tree | 86683c1dec53b1965ac7ea0de064e48642de633b /src | |
| parent | Fix change in revision 9947 to be consistent with rest of the codebase. (diff) | |
| download | inkscape-df3d0b10b528c77cf1cbc0b627f00de6cba8e966.tar.gz inkscape-df3d0b10b528c77cf1cbc0b627f00de6cba8e966.zip | |
Add a warning to sp-object.h to not use some of the new methods
in SPObject outside of the SP tree
(bzr r9951)
Diffstat (limited to 'src')
| -rw-r--r-- | src/sp-object.h | 5 |
1 files changed, 5 insertions, 0 deletions
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); |
