diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-23 04:40:06 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-23 04:40:06 (EDT) |
commit | 8379d082bcde9afdc614a89a3b15cd938c6dc47c (patch) | |
tree | 1cde0856b21ae3eab47d38050683276dfc46d2ae | |
parent | d9dec60561eabbfe5f51f8d7a17a1bbcb9e91487 (diff) | |
download | marquee-8379d082bcde9afdc614a89a3b15cd938c6dc47c.zip marquee-8379d082bcde9afdc614a89a3b15cd938c6dc47c.tar.gz marquee-8379d082bcde9afdc614a89a3b15cd938c6dc47c.tar.bz2 |
mq_tab_page_get_label(): New function
-rw-r--r-- | src/tab-page.c | 6 | ||||
-rw-r--r-- | src/tab-page.h | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c index f4c6610..1b197a0 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -238,6 +238,12 @@ mq_tab_page_get_window(MqTabPage *tab_page) return tab_page->window; } +MqTabLabel * +mq_tab_page_get_label(MqTabPage *tab_page) +{ + return tab_page->label; +} + void mq_tab_page_update_position(MqTabPage *tab_page, guint position) { diff --git a/src/tab-page.h b/src/tab-page.h index 5c37342..6238015 100644 --- a/src/tab-page.h +++ b/src/tab-page.h @@ -32,6 +32,7 @@ typedef struct _MqTabPageClass MqTabPageClass; #include <webkit2/webkit2.h> #include "application.h" +#include "tab-label.h" #include "window.h" G_BEGIN_DECLS @@ -63,6 +64,9 @@ mq_tab_page_get_application(MqTabPage *tab_page); MqWindow * mq_tab_page_get_window(MqTabPage *tab_page); +MqTabLabel * +mq_tab_page_get_label(MqTabPage *tab_page); + void mq_tab_page_update_position(MqTabPage *tab_page, guint position); |