diff options
| author | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | 2010-07-03 17:20:36 +0000 |
|---|---|---|
| committer | Abhishek Sharma Public <spyzerdotabhishek0at-signgmaildotcom> | 2010-07-03 17:20:36 +0000 |
| commit | 1aad26aea24f62b63c992118f36b12483f9a5414 (patch) | |
| tree | 5629cd23a5343c00dae666c82dcebb6a1e7b7c6a /src/conn-avoid-ref.cpp | |
| parent | New Class SPDocumentUndo created which takes care of c++fying some non SPDocu... (diff) | |
| download | inkscape-1aad26aea24f62b63c992118f36b12483f9a5414.tar.gz inkscape-1aad26aea24f62b63c992118f36b12483f9a5414.zip | |
another c++ification for sp-object.h/cpp and still in progress...
(bzr r9546.1.4)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
| -rw-r--r-- | src/conn-avoid-ref.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp index 70e0c3856..a6ac2387a 100644 --- a/src/conn-avoid-ref.cpp +++ b/src/conn-avoid-ref.cpp @@ -550,7 +550,7 @@ static Avoid::Polygon avoid_item_poly(SPItem const *item) GSList *get_avoided_items(GSList *list, SPObject *from, SPDesktop *desktop, bool initialised) { - for (SPObject *child = sp_object_first_child(SP_OBJECT(from)) ; + for (SPObject *child = SP_OBJECT(from)->first_child() ; child != NULL; child = SP_OBJECT_NEXT(child) ) { if (SP_IS_ITEM(child) && !desktop->isLayer(SP_ITEM(child)) && |
