From 3d8df928846c75f3717d65c1656da91b2c178f2d Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Fri, 06 Oct 2017 04:38:01 -0400 Subject: mq_tab_get_application(): New function --- (limited to 'src') diff --git a/src/tab.c b/src/tab.c index fc8e640..0c77425 100644 --- a/src/tab.c +++ b/src/tab.c @@ -566,6 +566,12 @@ mq_tab_new_root(MqWindow *window) return tab; } +MqApplication * +mq_tab_get_application(MqTab *tab) +{ + return tab->application; +} + void mq_tab_update_position(MqTab *tab, guint position) { diff --git a/src/tab.h b/src/tab.h index 2802306..aa4b7d0 100644 --- a/src/tab.h +++ b/src/tab.h @@ -64,6 +64,9 @@ mq_tab_new_relative(const gchar *uri, MqTab *source); MqTab * mq_tab_new_root(MqWindow *window); +MqApplication * +mq_tab_get_application(MqTab *tab); + void mq_tab_update_position(MqTab *tab, guint position); -- cgit v0.9.1