summaryrefslogtreecommitdiffstats
path: root/src/desktop-style.cpp
diff options
context:
space:
mode:
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
}