summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tab.c')
-rw-r--r--src/tab.c6
1 files changed, 6 insertions, 0 deletions
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)
{