diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-30 22:42:05 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-30 22:42:05 (EDT) |
commit | 7bf90d3283ea337aa1e83212275734907c64450c (patch) | |
tree | f71595da6d24a414dbacd4a8f53dcbfb6c01b710 | |
parent | de85a719de9a5612ed15255914e6ab6f10b24925 (diff) | |
download | marquee-7bf90d3283ea337aa1e83212275734907c64450c.zip marquee-7bf90d3283ea337aa1e83212275734907c64450c.tar.gz marquee-7bf90d3283ea337aa1e83212275734907c64450c.tar.bz2 |
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.
-rw-r--r-- | src/web-view.c | 4 |
1 files changed, 2 insertions, 2 deletions
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]); |