summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web-view.c6
-rw-r--r--src/web-view.h3
2 files changed, 9 insertions, 0 deletions
diff --git a/src/web-view.c b/src/web-view.c
index ff4cc72..27ca280 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -766,6 +766,12 @@ mq_web_view_get_config(MqWebView *web_view)
return web_view->config;
}
+MqTabPage *
+mq_web_view_get_tab_page(MqWebView *web_view)
+{
+ return web_view->tab_page;
+}
+
const gchar *
mq_web_view_get_uri(MqWebView *web_view)
{
diff --git a/src/web-view.h b/src/web-view.h
index 76b4f2d..b073fb4 100644
--- a/src/web-view.h
+++ b/src/web-view.h
@@ -54,6 +54,9 @@ mq_web_view_new(MqTabPage *tab_page, const gchar *uri);
MqConfig *
mq_web_view_get_config(MqWebView *web_view);
+MqTabPage *
+mq_web_view_get_tab_page(MqWebView *web_view);
+
const gchar *
mq_web_view_get_uri(MqWebView *web_view);