diff options
-rw-r--r-- | src/tab.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |