summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-18 02:08:18 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-18 02:08:18 (EDT)
commit083eb50c1bdf919c001ad2d49e49f9b4d6d1d43d (patch)
treed07141b071b4942b52449f1973cb5d7ee5d14518
parentb6d1009e828bb086bed2ada844f3225bb746c224 (diff)
downloadmarquee-083eb50c1bdf919c001ad2d49e49f9b4d6d1d43d.zip
marquee-083eb50c1bdf919c001ad2d49e49f9b4d6d1d43d.tar.gz
marquee-083eb50c1bdf919c001ad2d49e49f9b4d6d1d43d.tar.bz2
MqTabPage: Don't use mq_tab_update_positions()
An accidental holdover from copying code from MqTab.
-rw-r--r--src/tab-page.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/tab-page.c b/src/tab-page.c
index 2ae7eff..d906466 100644
--- a/src/tab-page.c
+++ b/src/tab-page.c
@@ -110,7 +110,7 @@ append_child(MqTabPage *new_node)
parent->first_child = new_node;
}
parent->last_child = new_node;
- mq_tab_update_positions(new_node, 1);
+ mq_tab_page_update_positions(new_node, 1);
update_tree_sizes(new_node, 1);
}
@@ -132,7 +132,7 @@ append_sibling(MqTabPage *new_node)
prev_sibling->next->prev = new_node;
}
prev_sibling->next = new_node;
- mq_tab_update_positions(new_node, 1);
+ mq_tab_page_update_positions(new_node, 1);
update_tree_sizes(new_node, 1);
}
@@ -390,9 +390,9 @@ mq_tab_page_update_positions(MqTabPage *node, gint step)
node->position);
}
if (node->next) {
- mq_tab_update_positions(node->next, step);
+ mq_tab_page_update_positions(node->next, step);
} else if (node->parent && node->parent->next) {
- mq_tab_update_positions(node->parent->next, step);
+ mq_tab_page_update_positions(node->parent->next, step);
}
}
}