From fde59b9691f02d4f33a9b327b0e0fac770109854 Mon Sep 17 00:00:00 2001 From: Kris De Gussem Date: Tue, 3 Jan 2012 13:23:35 +0100 Subject: Janitorial tasks: get rid of deprecated repr wrapper functions (bzr r10830) --- src/extension/param/notebook.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/extension/param/notebook.cpp') diff --git a/src/extension/param/notebook.cpp b/src/extension/param/notebook.cpp index 99eec7e4b..63dc77f21 100644 --- a/src/extension/param/notebook.cpp +++ b/src/extension/param/notebook.cpp @@ -71,7 +71,7 @@ ParamNotebookPage::ParamNotebookPage (const gchar * name, const gchar * guitext, // Read XML to build page if (xml != NULL) { - Inkscape::XML::Node *child_repr = sp_repr_children(xml); + Inkscape::XML::Node *child_repr = xml->firstChild(); while (child_repr != NULL) { char const * chname = child_repr->name(); if (!strncmp(chname, INKSCAPE_EXTENSION_NS_NC, strlen(INKSCAPE_EXTENSION_NS_NC))) { @@ -84,7 +84,7 @@ ParamNotebookPage::ParamNotebookPage (const gchar * name, const gchar * guitext, param = Parameter::make(child_repr, ext); if (param != NULL) parameters = g_slist_append(parameters, param); } - child_repr = sp_repr_next(child_repr); + child_repr = child_repr->next(); } } } @@ -230,7 +230,7 @@ ParamNotebook::ParamNotebook (const gchar * name, const gchar * guitext, const g // Read XML tree to add pages: if (xml != NULL) { - Inkscape::XML::Node *child_repr = sp_repr_children(xml); + Inkscape::XML::Node *child_repr = xml->firstChild(); while (child_repr != NULL) { char const * chname = child_repr->name(); if (!strncmp(chname, INKSCAPE_EXTENSION_NS_NC, strlen(INKSCAPE_EXTENSION_NS_NC))) { @@ -243,7 +243,7 @@ ParamNotebook::ParamNotebook (const gchar * name, const gchar * guitext, const g page = ParamNotebookPage::makepage(child_repr, ext); if (page != NULL) pages = g_slist_append(pages, page); } - child_repr = sp_repr_next(child_repr); + child_repr = child_repr->next(); } } -- cgit v1.2.3