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/style.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/style.cpp') 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); } -- cgit v1.2.3