summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 03:30:49 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 03:30:49 (EDT)
commita5a16c07a5b4cd74a5c035cdc7930bb1226e476e (patch)
tree30064a5b548a9f93b0443fc2b1f340075d00a67a
parent3066fc3dbf65edfd45fc1be2b557756be1e39123 (diff)
downloadmarquee-a5a16c07a5b4cd74a5c035cdc7930bb1226e476e.zip
marquee-a5a16c07a5b4cd74a5c035cdc7930bb1226e476e.tar.gz
marquee-a5a16c07a5b4cd74a5c035cdc7930bb1226e476e.tar.bz2
mq_web_view_get_tab_page(): New function
-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);