diff options
Diffstat (limited to 'src/tab-page.c')
-rw-r--r-- | src/tab-page.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tab-page.c b/src/tab-page.c index 364879e..1a7b37a 100644 --- a/src/tab-page.c +++ b/src/tab-page.c @@ -222,6 +222,14 @@ mq_tab_page_new(MqWindow *window, const gchar *uri) } void +mq_tab_page_close(MqTabPage *tab_page) +{ + mq_notebook_remove_page( + MQ_NOTEBOOK(gtk_widget_get_parent(GTK_WIDGET(tab_page))), + tab_page); +} + +void mq_tab_page_quit(MqTabPage *tab_page) { mq_window_quit(tab_page->window); |