summaryrefslogtreecommitdiffstats
path: root/src/filter-chemistry.cpp
diff options
context:
space:
mode:
authorAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-07-14 11:17:21 +0000
committerAdrian Boguszewski <adrbogus1@student.pg.gda.pl>2016-07-14 11:17:21 +0000
commit24d3f50003ca3cec6a03a7f5267cc4fe5588c69f (patch)
tree31b18bad74998d7b7042e737d28c08b063a8d383 /src/filter-chemistry.cpp
parentLast part of new SPObject children list (diff)
downloadinkscape-24d3f50003ca3cec6a03a7f5267cc4fe5588c69f.tar.gz
inkscape-24d3f50003ca3cec6a03a7f5267cc4fe5588c69f.zip
Renamed children list in SPObject
(bzr r14954.1.21)
Diffstat (limited to 'src/filter-chemistry.cpp')
-rw-r--r--src/filter-chemistry.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/filter-chemistry.cpp b/src/filter-chemistry.cpp
index 2e99842ec..3255bfb70 100644
--- a/src/filter-chemistry.cpp
+++ b/src/filter-chemistry.cpp
@@ -51,7 +51,7 @@ static guint count_filter_hrefs(SPObject *o, SPFilter *filter)
i ++;
}
- for (auto& child: o->_children) {
+ for (auto& child: o->children) {
i += count_filter_hrefs(&child, filter);
}
@@ -491,14 +491,14 @@ void remove_filter_gaussian_blur (SPObject *item)
bool filter_is_single_gaussian_blur(SPFilter *filter)
{
- return (filter->_children.size() == 1 &&
- SP_IS_GAUSSIANBLUR(&filter->_children.front()));
+ return (filter->children.size() == 1 &&
+ SP_IS_GAUSSIANBLUR(&filter->children.front()));
}
double get_single_gaussian_blur_radius(SPFilter *filter)
{
- if (filter->_children.size() == 1 &&
- SP_IS_GAUSSIANBLUR(&filter->_children.front())) {
+ if (filter->children.size() == 1 &&
+ SP_IS_GAUSSIANBLUR(&filter->children.front())) {
SPGaussianBlur *gb = SP_GAUSSIANBLUR(filter->firstChild());
double x = gb->stdDeviation.getNumber();