summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
authorTomasz Boczkowski <penginsbacon@gmail.com>2014-05-28 21:28:17 +0000
committerTomasz Boczkowski <penginsbacon@gmail.com>2014-05-28 21:28:17 +0000
commit4d75f1ecca2fcab4cbfec9fb84c5b1f3647dbc17 (patch)
treeb22a6e5def6be177faca885888aeda57fceba521 /src/desktop-style.cpp
parentSPPattern c++-sification: removed unused declatations and includes (diff)
downloadinkscape-4d75f1ecca2fcab4cbfec9fb84c5b1f3647dbc17.tar.gz
inkscape-4d75f1ecca2fcab4cbfec9fb84c5b1f3647dbc17.zip
SPPattern c++-sification: replaced function by methods
(bzr r13341.6.21)
Diffstat (limited to 'src/desktop-style.cpp')
-rw-r--r--src/desktop-style.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/desktop-style.cpp b/src/desktop-style.cpp
index 37f537cc5..8c3dac382 100644
--- a/src/desktop-style.cpp
+++ b/src/desktop-style.cpp
@@ -538,8 +538,8 @@ objects_query_fillstroke (GSList *objects, SPStyle *style_res, bool const isfill
if (!SP_IS_PATTERN(server))
return QUERY_STYLE_MULTIPLE_DIFFERENT; // different kind of server
- SPPattern *pat = pattern_getroot (SP_PATTERN (server));
- SPPattern *pat_res = pattern_getroot (SP_PATTERN (server_res));
+ SPPattern *pat = SP_PATTERN (server)->get_root();
+ SPPattern *pat_res = SP_PATTERN (server_res)->get_root();
if (pat_res != pat)
return QUERY_STYLE_MULTIPLE_DIFFERENT; // different pattern roots
}