summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 13:34:18 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 13:35:16 (EDT)
commit8979e7f6196ccb572df3f059062cff998b842d64 (patch)
tree0cd50a7acddcb24835d0c77a2a3af5068da56ade
parent1c8b6798ef59f227a47a7ef41c8e622af88ad417 (diff)
downloadmarquee-8979e7f6196ccb572df3f059062cff998b842d64.zip
marquee-8979e7f6196ccb572df3f059062cff998b842d64.tar.gz
marquee-8979e7f6196ccb572df3f059062cff998b842d64.tar.bz2
MqWebView: mq_web_view_scheme_set_methods() on construction
-rw-r--r--src/web-view.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/web-view.c b/src/web-view.c
index eded264..8e75eba 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -195,7 +195,8 @@ constructed(GObject *object)
web_view = MQ_WEB_VIEW(object);
- web_view->scheme_methods = &mq_web_view_normal_scheme_methods;
+ mq_web_view_scheme_set_methods(&web_view->scheme_methods,
+ &web_view->scheme, web_view->uri);
web_view->config = mq_application_get_config(
mq_tab_page_get_application(web_view->tab_page));