summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 1e028da..864735e 100644
--- a/src/tab.c
+++ b/src/tab.c
@@ -564,6 +564,12 @@ mq_tab_new_root(MqWindow *window)
return tab;
}
+void
+mq_tab_quit(MqTab *tab)
+{
+ mq_window_quit(tab->window);
+}
+
MqApplication *
mq_tab_get_application(MqTab *tab)
{
diff --git a/src/tab.h b/src/tab.h
index e78eba1..ee0c0f3 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);
+void
+mq_tab_quit(MqTab *tab);
+
MqApplication *
mq_tab_get_application(MqTab *tab);