From 7bf90d3283ea337aa1e83212275734907c64450c Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 22:42:05 -0400 Subject: mq_web_view_load_uri(): Directly call webkit_web_view_load_uri() Instead of going through the scheme's initialize() method and the ready callback. --- diff --git a/src/web-view.c b/src/web-view.c index 30246aa..5feaf75 100644 --- a/src/web-view.c +++ b/src/web-view.c @@ -400,8 +400,8 @@ mq_web_view_load_uri(MqWebView *web_view, const gchar *uri) web_view->uri = web_view->scheme_methods->rewrite_uri( web_view, &web_view->scheme, uri); - - web_view->scheme_methods->initialize(web_view, &web_view->scheme, uri); + webkit_web_view_load_uri(WEBKIT_WEB_VIEW(web_view), + web_view->uri); g_object_notify_by_pspec(G_OBJECT(web_view), obj_properties[PROP_DISPLAY_URI]); -- cgit v0.9.1