summaryrefslogtreecommitdiffstats
path: root/src/widgets
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/widgets
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/widgets')
-rw-r--r--src/widgets/gradient-toolbar.cpp4
-rw-r--r--src/widgets/gradient-vector.cpp8
-rw-r--r--src/widgets/stroke-marker-selector.cpp2
3 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/gradient-toolbar.cpp b/src/widgets/gradient-toolbar.cpp
index c4b2ed59a..1565e16f3 100644
--- a/src/widgets/gradient-toolbar.cpp
+++ b/src/widgets/gradient-toolbar.cpp
@@ -720,7 +720,7 @@ static void select_stop_by_drag(GtkWidget *combo_box, SPGradient *gradient, Tool
static void select_stop_in_list( GtkWidget *combo_box, SPGradient *gradient, SPStop *new_stop, GtkWidget *data, gboolean block)
{
int i = 0;
- for (auto& ochild: gradient->_children) {
+ for (auto& ochild: gradient->children) {
if (SP_IS_STOP(&ochild)) {
if (&ochild == new_stop) {
blocked = block;
@@ -765,7 +765,7 @@ static gboolean update_stop_list( GtkWidget *stop_combo, SPGradient *gradient, S
/* Populate the combobox store */
std::vector<SPObject *> sl;
if ( gradient->hasStops() ) {
- for (auto& ochild: gradient->_children) {
+ for (auto& ochild: gradient->children) {
if (SP_IS_STOP(&ochild)) {
sl.push_back(&ochild);
}
diff --git a/src/widgets/gradient-vector.cpp b/src/widgets/gradient-vector.cpp
index 813a2d28e..5f549a77c 100644
--- a/src/widgets/gradient-vector.cpp
+++ b/src/widgets/gradient-vector.cpp
@@ -363,7 +363,7 @@ unsigned long sp_gradient_to_hhssll(SPGradient *gr)
static GSList *get_all_doc_items(GSList *list, SPObject *from, bool onlyvisible, bool onlysensitive, bool ingroups, GSList const *exclude)
{
- for (auto& child: from->_children) {
+ for (auto& child: from->children) {
if (SP_IS_ITEM(&child)) {
list = g_slist_prepend(list, SP_ITEM(&child));
}
@@ -525,7 +525,7 @@ static void verify_grad(SPGradient *gradient)
int i = 0;
SPStop *stop = NULL;
/* count stops */
- for (auto& ochild: gradient->_children) {
+ for (auto& ochild: gradient->children) {
if (SP_IS_STOP(&ochild)) {
i++;
stop = SP_STOP(&ochild);
@@ -568,7 +568,7 @@ static void select_stop_in_list( GtkWidget *vb, SPGradient *gradient, SPStop *ne
GtkWidget *combo_box = static_cast<GtkWidget *>(g_object_get_data(G_OBJECT(vb), "combo_box"));
int i = 0;
- for (auto& ochild: gradient->_children) {
+ for (auto& ochild: gradient->children) {
if (SP_IS_STOP(&ochild)) {
if (&ochild == new_stop) {
gtk_combo_box_set_active (GTK_COMBO_BOX(combo_box) , i);
@@ -603,7 +603,7 @@ static void update_stop_list( GtkWidget *vb, SPGradient *gradient, SPStop *new_s
/* Populate the combobox store */
GSList *sl = NULL;
if ( gradient->hasStops() ) {
- for (auto& ochild: gradient->_children) {
+ for (auto& ochild: gradient->children) {
if (SP_IS_STOP(&ochild)) {
sl = g_slist_append(sl, &ochild);
}
diff --git a/src/widgets/stroke-marker-selector.cpp b/src/widgets/stroke-marker-selector.cpp
index fd7b5f6cd..af3f03420 100644
--- a/src/widgets/stroke-marker-selector.cpp
+++ b/src/widgets/stroke-marker-selector.cpp
@@ -335,7 +335,7 @@ GSList *MarkerComboBox::get_marker_list (SPDocument *source)
return NULL;
}
- for (auto& child: defs->_children)
+ for (auto& child: defs->children)
{
if (SP_IS_MARKER(&child)) {
ml = g_slist_prepend (ml, &child);