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/string.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/string.cpp')
| -rw-r--r-- | src/extension/param/string.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/extension/param/string.cpp b/src/extension/param/string.cpp index 13b8e326a..6b205d627 100644 --- a/src/extension/param/string.cpp +++ b/src/extension/param/string.cpp @@ -78,8 +78,8 @@ ParamString::ParamString (const gchar * name, const gchar * guitext, const gchar _value(NULL), _indent(0) { const char * defaultval = NULL; - if (sp_repr_children(xml) != NULL) { - defaultval = sp_repr_children(xml)->content(); + if (xml->firstChild() != NULL) { + defaultval = xml->firstChild()->content(); } const char * indent = xml->attribute("indent"); |
