summaryrefslogtreecommitdiffstats
path: root/src/widgets/fill-style.cpp
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2015-05-03 10:37:06 +0000
committerTomasz Boczkowski <penginsbacon@gmail.com>2015-05-03 10:37:06 +0000
commit705243e1266aec7527ae76065213ca7536ed7c41 (patch)
treec4b029fd281bfc4ec433d2d56d77502e16fa1f28 /src/widgets/fill-style.cpp
parentReformatted SPPattern (diff)
downloadinkscape-705243e1266aec7527ae76065213ca7536ed7c41.tar.gz
inkscape-705243e1266aec7527ae76065213ca7536ed7c41.zip
renamed SPPattern methods to match coding style
(bzr r14059.1.20)
Diffstat (limited to 'src/widgets/fill-style.cpp')
-rw-r--r--src/widgets/fill-style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/fill-style.cpp b/src/widgets/fill-style.cpp
index e29420ac6..264ebff5a 100644
--- a/src/widgets/fill-style.cpp
+++ b/src/widgets/fill-style.cpp
@@ -300,7 +300,7 @@ void FillNStroke::performUpdate()
psel->setGradientProperties( rg->getUnits(),
rg->getSpread() );
} else if (SP_IS_PATTERN(server)) {
- SPPattern *pat = SP_PATTERN(server)->get_root();
+ SPPattern *pat = SP_PATTERN(server)->rootPattern();
psel->updatePatternList( pat );
}
}
@@ -656,7 +656,7 @@ void FillNStroke::updateFromPaint()
SPPaintServer *server = (kind == FILL) ?
selobj->style->getFillPaintServer() :
selobj->style->getStrokePaintServer();
- if (SP_IS_PATTERN(server) && SP_PATTERN(server)->get_root() == pattern)
+ if (SP_IS_PATTERN(server) && SP_PATTERN(server)->rootPattern() == pattern)
// only if this object's pattern is not rooted in our selected pattern, apply
continue;
}