diff options
| author | Tomasz Boczkowski <penginsbacon@gmail.com> | 2015-05-03 10:37:06 +0000 |
|---|---|---|
| committer | Tomasz Boczkowski <penginsbacon@gmail.com> | 2015-05-03 10:37:06 +0000 |
| commit | 705243e1266aec7527ae76065213ca7536ed7c41 (patch) | |
| tree | c4b029fd281bfc4ec433d2d56d77502e16fa1f28 /src/widgets/paint-selector.cpp | |
| parent | Reformatted SPPattern (diff) | |
| download | inkscape-705243e1266aec7527ae76065213ca7536ed7c41.tar.gz inkscape-705243e1266aec7527ae76065213ca7536ed7c41.zip | |
renamed SPPattern methods to match coding style
(bzr r14059.1.20)
Diffstat (limited to 'src/widgets/paint-selector.cpp')
| -rw-r--r-- | src/widgets/paint-selector.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/widgets/paint-selector.cpp b/src/widgets/paint-selector.cpp index a2160e3ad..e2483343f 100644 --- a/src/widgets/paint-selector.cpp +++ b/src/widgets/paint-selector.cpp @@ -822,7 +822,7 @@ ink_pattern_list_get (SPDocument *source) GSList *pl = NULL; GSList const *patterns = source->getResourceList("pattern"); for (GSList *l = const_cast<GSList *>(patterns); l != NULL; l = l->next) { - if (SP_PATTERN(l->data) == SP_PATTERN(l->data)->get_root()) { // only if this is a root pattern + if (SP_PATTERN(l->data) == SP_PATTERN(l->data)->rootPattern()) { // only if this is a root pattern pl = g_slist_prepend(pl, l->data); } } @@ -1142,7 +1142,7 @@ SPPattern *SPPaintSelector::getPattern() } g_free(paturn); } else { - pat = SP_PATTERN(patid)->get_root(); + pat = SP_PATTERN(patid)->rootPattern(); } if (pat && !SP_IS_PATTERN(pat)) { |
