summaryrefslogtreecommitdiffstats
path: root/src/extension/system.cpp
diff options
context:
space:
mode:
authorKris De Gussem <kris.degussem@gmail.com>2012-01-03 12:23:35 +0000
committerKris <Kris.De.Gussem@hotmail.com>2012-01-03 12:23:35 +0000
commitfde59b9691f02d4f33a9b327b0e0fac770109854 (patch)
treeee2438781f41cbc434c230bee3dbad3c28822058 /src/extension/system.cpp
parentA few GSEAL issues in device-manager (diff)
downloadinkscape-fde59b9691f02d4f33a9b327b0e0fac770109854.tar.gz
inkscape-fde59b9691f02d4f33a9b327b0e0fac770109854.zip
Janitorial tasks: get rid of deprecated repr wrapper functions
(bzr r10830)
Diffstat (limited to 'src/extension/system.cpp')
-rw-r--r--src/extension/system.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/system.cpp b/src/extension/system.cpp
index b3b64ca7d..4f8d2ebe6 100644
--- a/src/extension/system.cpp
+++ b/src/extension/system.cpp
@@ -433,7 +433,7 @@ build_from_reprdoc(Inkscape::XML::Document *doc, Implementation::Implementation
return NULL;
}
- Inkscape::XML::Node *child_repr = sp_repr_children(repr);
+ Inkscape::XML::Node *child_repr = repr->firstChild();
while (child_repr != NULL) {
char const *element_name = child_repr->name();
/* printf("Child: %s\n", child_repr->name()); */
@@ -458,7 +458,7 @@ build_from_reprdoc(Inkscape::XML::Document *doc, Implementation::Implementation
}
//Inkscape::XML::Node *old_repr = child_repr;
- child_repr = sp_repr_next(child_repr);
+ child_repr = child_repr->next();
//Inkscape::GC::release(old_repr);
}