summaryrefslogtreecommitdiffstats
path: root/src/extension/input.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/input.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/input.cpp')
-rw-r--r--src/extension/input.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/extension/input.cpp b/src/extension/input.cpp
index b4599dbd0..320bf643c 100644
--- a/src/extension/input.cpp
+++ b/src/extension/input.cpp
@@ -49,11 +49,11 @@ Input::Input (Inkscape::XML::Node * in_repr, Implementation::Implementation * in
if (repr != NULL) {
Inkscape::XML::Node * child_repr;
- child_repr = sp_repr_children(repr);
+ child_repr = repr->firstChild();
while (child_repr != NULL) {
if (!strcmp(child_repr->name(), INKSCAPE_EXTENSION_NS "input")) {
- child_repr = sp_repr_children(child_repr);
+ child_repr = child_repr->firstChild();
while (child_repr != NULL) {
char const * chname = child_repr->name();
if (!strncmp(chname, INKSCAPE_EXTENSION_NS_NC, strlen(INKSCAPE_EXTENSION_NS_NC))) {
@@ -63,32 +63,32 @@ Input::Input (Inkscape::XML::Node * in_repr, Implementation::Implementation * in
chname++;
if (!strcmp(chname, "extension")) {
g_free (extension);
- extension = g_strdup(sp_repr_children(child_repr)->content());
+ extension = g_strdup(child_repr->firstChild()->content());
}
if (!strcmp(chname, "mimetype")) {
g_free (mimetype);
- mimetype = g_strdup(sp_repr_children(child_repr)->content());
+ mimetype = g_strdup(child_repr->firstChild()->content());
}
if (!strcmp(chname, "filetypename")) {
g_free (filetypename);
- filetypename = g_strdup(sp_repr_children(child_repr)->content());
+ filetypename = g_strdup(child_repr->firstChild()->content());
}
if (!strcmp(chname, "filetypetooltip")) {
g_free (filetypetooltip);
- filetypetooltip = g_strdup(sp_repr_children(child_repr)->content());
+ filetypetooltip = g_strdup(child_repr->firstChild()->content());
}
if (!strcmp(chname, "output_extension")) {
g_free (output_extension);
- output_extension = g_strdup(sp_repr_children(child_repr)->content());
+ output_extension = g_strdup(child_repr->firstChild()->content());
}
- child_repr = sp_repr_next(child_repr);
+ child_repr = child_repr->next();
}
break;
}
- child_repr = sp_repr_next(child_repr);
+ child_repr = child_repr->next();
}
}