From 88225fd9e886d1b1a92486ee964e0897e4fb6d8f Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Thu, 28 Sep 2017 14:56:23 -0400 Subject: mq_tab_get_title(): New function --- (limited to 'src') 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) { diff --git a/src/tab.h b/src/tab.h index 1258dd1..0553fe4 100644 --- a/src/tab.h +++ b/src/tab.h @@ -65,6 +65,9 @@ mq_tab_new_root(MqWindow *window); void mq_tab_update_position(MqTab *tab, guint position); +const gchar * +mq_tab_get_title(MqTab *tab); + MqTab * mq_tab_seek(MqTab *node, guint position); -- cgit v0.9.1