summaryrefslogtreecommitdiffstats
path: root/src/tab.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-09-28 14:56:23 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-09-28 14:56:23 (EDT)
commit88225fd9e886d1b1a92486ee964e0897e4fb6d8f (patch)
tree12296f6312612fc30b329b91e4246a3fbb91c4e1 /src/tab.c
parentb56847c0f2afce6df436bbab32231ba4c44da301 (diff)
downloadmarquee-88225fd9e886d1b1a92486ee964e0897e4fb6d8f.zip
marquee-88225fd9e886d1b1a92486ee964e0897e4fb6d8f.tar.gz
marquee-88225fd9e886d1b1a92486ee964e0897e4fb6d8f.tar.bz2
mq_tab_get_title(): New function
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 23480c9..b0c0495 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);
}
+const gchar *
+mq_tab_get_title(MqTab *tab)
+{
+ return tab->title;
+}
+
MqTab *
mq_tab_seek(MqTab *node, guint position)
{