diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-17 19:22:34 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-17 19:22:34 (EDT) |
commit | 12d11cc30c07ff99341a0e26300767a59b34d434 (patch) | |
tree | 18047afe9615738aa02481759d221a0ed3a4d354 | |
parent | 60574acaa26bc50cd83a9aa8f2c044cdca94c3dc (diff) | |
download | marquee-12d11cc30c07ff99341a0e26300767a59b34d434.zip marquee-12d11cc30c07ff99341a0e26300767a59b34d434.tar.gz marquee-12d11cc30c07ff99341a0e26300767a59b34d434.tar.bz2 |
MqTab: Cast MqTabLabel for mq_tab_label_set_position()
-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 |