summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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 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);