summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));