summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tab.c b/src/tab.c
index 318d40b..74c9085 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -45,7 +45,8 @@ update_positions(MqTab *node, gint step)
if (node) {
node->position += step;
if (node->tab) {
- mq_tab_label_set_position(node->tab, node->position);
+ mq_tab_label_set_position(MQ_TAB_LABEL(node->tab),
+ node->position);
}
if (node->next) {
update_positions(node->next, step);
@@ -230,7 +231,7 @@ void
mq_tab_update_position(MqTab *tab, guint position)
{
tab->position = position;
- mq_tab_label_set_position(tab->tab, position);
+ mq_tab_label_set_position(MQ_TAB_LABEL(tab->tab), position);
}
guint