diff options
| author | Kris De Gussem <kris.degussem@gmail.com> | 2012-01-03 12:23:35 +0000 |
|---|---|---|
| committer | Kris <Kris.De.Gussem@hotmail.com> | 2012-01-03 12:23:35 +0000 |
| commit | fde59b9691f02d4f33a9b327b0e0fac770109854 (patch) | |
| tree | ee2438781f41cbc434c230bee3dbad3c28822058 /src/extension/param/notebook.cpp | |
| parent | A few GSEAL issues in device-manager (diff) | |
| download | inkscape-fde59b9691f02d4f33a9b327b0e0fac770109854.tar.gz inkscape-fde59b9691f02d4f33a9b327b0e0fac770109854.zip | |
Janitorial tasks: get rid of deprecated repr wrapper functions
(bzr r10830)
Diffstat (limited to 'src/extension/param/notebook.cpp')
| -rw-r--r-- | src/extension/param/notebook.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } } |
