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/box3d-context.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/box3d-context.cpp')
| -rw-r--r-- | src/box3d-context.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/box3d-context.cpp b/src/box3d-context.cpp index 88763e183..354fa1234 100644 --- a/src/box3d-context.cpp +++ b/src/box3d-context.cpp @@ -191,7 +191,7 @@ static void sp_box3d_context_ensure_persp_in_defs(SPDocument *document) { SPDefs *defs = (SPDefs *) SP_DOCUMENT_DEFS(document); bool has_persp = false; - for (SPObject *child = sp_object_first_child(defs); child != NULL; child = SP_OBJECT_NEXT(child) ) { + for (SPObject *child = defs->first_child(); child != NULL; child = SP_OBJECT_NEXT(child) ) { if (SP_IS_PERSP3D(child)) { has_persp = true; break; |
