From a5a16c07a5b4cd74a5c035cdc7930bb1226e476e Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 03:30:49 -0400 Subject: mq_web_view_get_tab_page(): New function --- 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); -- cgit v0.9.1