summaryrefslogtreecommitdiffstats
path: root/src/style.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/style.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/style.cpp')
-rw-r--r--src/style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/style.cpp b/src/style.cpp
index 90c100f33..dff13f42f 100644
--- a/src/style.cpp
+++ b/src/style.cpp
@@ -795,10 +795,10 @@ sp_style_read(SPStyle *style, SPObject *object, Inkscape::XML::Node *repr)
sp_style_merge_from_parent(style, object->parent->style);
}
} else {
- if (sp_repr_parent(repr)) {
+ if (repr->parent()) {
/// \todo fixme: This is not the prettiest thing (Lauris)
SPStyle *parent = sp_style_new(NULL);
- sp_style_read(parent, NULL, sp_repr_parent(repr));
+ sp_style_read(parent, NULL, repr->parent());
sp_style_merge_from_parent(style, parent);
sp_style_unref(parent);
}