summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-06 04:38:01 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-06 04:38:01 (EDT)
commit3d8df928846c75f3717d65c1656da91b2c178f2d (patch)
tree8b41406c626a4009efd653109713db469204503a /src
parent820ee257e367af9e804a5ac19075023cebe56039 (diff)
downloadmarquee-3d8df928846c75f3717d65c1656da91b2c178f2d.zip
marquee-3d8df928846c75f3717d65c1656da91b2c178f2d.tar.gz
marquee-3d8df928846c75f3717d65c1656da91b2c178f2d.tar.bz2
mq_tab_get_application(): New function
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);