From 12d11cc30c07ff99341a0e26300767a59b34d434 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 17 Oct 2017 19:22:34 -0400 Subject: MqTab: Cast MqTabLabel for mq_tab_label_set_position() --- (limited to 'src') 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 -- cgit v0.9.1