summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 03:28:01 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 03:28:01 (EDT)
commit3066fc3dbf65edfd45fc1be2b557756be1e39123 (patch)
treeb54b3d5affd0efe500abbae817387eb18ed1bb7c /src
parent0509c7fdbf73cb5b732942954b05b4c4a6dd72f4 (diff)
downloadmarquee-3066fc3dbf65edfd45fc1be2b557756be1e39123.zip
marquee-3066fc3dbf65edfd45fc1be2b557756be1e39123.tar.gz
marquee-3066fc3dbf65edfd45fc1be2b557756be1e39123.tar.bz2
mq_web_view_get_config(): New function
Diffstat (limited to 'src')
-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 3405e1b..ff4cc72 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -760,6 +760,12 @@ mq_web_view_new(MqTabPage *tab_page, const gchar *uri)
NULL);
}
+MqConfig *
+mq_web_view_get_config(MqWebView *web_view)
+{
+ return web_view->config;
+}
+
const gchar *
mq_web_view_get_uri(MqWebView *web_view)
{
diff --git a/src/web-view.h b/src/web-view.h
index 7a33789..76b4f2d 100644
--- a/src/web-view.h
+++ b/src/web-view.h
@@ -51,6 +51,9 @@ mq_web_view_get_type(void);
MqWebView *
mq_web_view_new(MqTabPage *tab_page, const gchar *uri);
+MqConfig *
+mq_web_view_get_config(MqWebView *web_view);
+
const gchar *
mq_web_view_get_uri(MqWebView *web_view);