diff options
| author | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-05-28 21:28:17 +0000 |
|---|---|---|
| committer | Tomasz Boczkowski <penginsbacon@gmail.com> | 2014-05-28 21:28:17 +0000 |
| commit | 4d75f1ecca2fcab4cbfec9fb84c5b1f3647dbc17 (patch) | |
| tree | b22a6e5def6be177faca885888aeda57fceba521 /src/widgets/fill-style.cpp | |
| parent | SPPattern c++-sification: removed unused declatations and includes (diff) | |
| download | inkscape-4d75f1ecca2fcab4cbfec9fb84c5b1f3647dbc17.tar.gz inkscape-4d75f1ecca2fcab4cbfec9fb84c5b1f3647dbc17.zip | |
SPPattern c++-sification: replaced function by methods
(bzr r13341.6.21)
Diffstat (limited to 'src/widgets/fill-style.cpp')
| -rw-r--r-- | src/widgets/fill-style.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/fill-style.cpp b/src/widgets/fill-style.cpp index d1d318abe..27ab7156c 100644 --- a/src/widgets/fill-style.cpp +++ b/src/widgets/fill-style.cpp @@ -304,7 +304,7 @@ void FillNStroke::performUpdate() psel->setGradientProperties( rg->getUnits(), rg->getSpread() ); } else if (SP_IS_PATTERN(server)) { - SPPattern *pat = pattern_getroot(SP_PATTERN(server)); + SPPattern *pat = SP_PATTERN(server)->get_root(); psel->updatePatternList( pat ); } } @@ -663,7 +663,7 @@ void FillNStroke::updateFromPaint() SPPaintServer *server = (kind == FILL) ? selobj->style->getFillPaintServer() : selobj->style->getStrokePaintServer(); - if (SP_IS_PATTERN(server) && pattern_getroot(SP_PATTERN(server)) == pattern) + if (SP_IS_PATTERN(server) && SP_PATTERN(server)->get_root() == pattern) // only if this object's pattern is not rooted in our selected pattern, apply continue; } |
