From 73eba9d25be572255997d2ea61d798e0d547b069 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 28 Sep 2017 14:59:16 -0400 Subject: mq_tab_get_position(): New function --- (limited to 'src/tab.c') diff --git a/src/tab.c b/src/tab.c index b0c0495..22388fe 100644 --- a/src/tab.c +++ b/src/tab.c @@ -478,6 +478,12 @@ mq_tab_update_position(MqTab *tab, guint position) update_tab_label(tab); } +guint +mq_tab_get_position(MqTab *tab) +{ + return tab->position; +} + const gchar * mq_tab_get_title(MqTab *tab) { -- cgit v0.9.1