summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/tab.c6
-rw-r--r--src/tab.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/tab.c b/src/tab.c
index fc6d414..1e028da 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -583,6 +583,12 @@ mq_tab_get_position(MqTab *tab)
return tab->position;
}
+guint
+mq_tab_get_tree_size(MqTab *tab)
+{
+ return tab->tree_size;
+}
+
const gchar *
mq_tab_get_title(MqTab *tab)
{
diff --git a/src/tab.h b/src/tab.h
index aa4b7d0..e78eba1 100644
--- a/src/tab.h
+++ b/src/tab.h
@@ -73,6 +73,9 @@ mq_tab_update_position(MqTab *tab, guint position);
guint
mq_tab_get_position(MqTab *tab);
+guint
+mq_tab_get_tree_size(MqTab *tab);
+
const gchar *
mq_tab_get_title(MqTab *tab);