summaryrefslogtreecommitdiffstats
path: root/src/web-view.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 22:54:14 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 22:54:14 (EDT)
commit5aeb788c3046ab5134691843b40d6318b14d5aa2 (patch)
tree0f02b37b37d79c094bf46c22aa8b0208828569ce /src/web-view.c
parentbecc7cf16cccabffd1eff236956151a02c156c1b (diff)
downloadmarquee-5aeb788c3046ab5134691843b40d6318b14d5aa2.zip
marquee-5aeb788c3046ab5134691843b40d6318b14d5aa2.tar.gz
marquee-5aeb788c3046ab5134691843b40d6318b14d5aa2.tar.bz2
mq_web_view_scheme_set_methods(): Take an (MqWebView *) parameter
Diffstat (limited to 'src/web-view.c')
-rw-r--r--src/web-view.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/web-view.c b/src/web-view.c
index 887bedd..01800b8 100644
--- a/src/web-view.c
+++ b/src/web-view.c
@@ -79,8 +79,8 @@ uri_cb(MqWebView *web_view, GParamSpec G_GNUC_UNUSED *param_spec)
uri = webkit_web_view_get_uri(WEBKIT_WEB_VIEW(web_view));
- mq_web_view_scheme_set_methods(&web_view->scheme_methods,
- &web_view->scheme, uri);
+ mq_web_view_scheme_set_methods(web_view, &web_view->scheme,
+ &web_view->scheme_methods, uri);
web_view->uri = web_view->scheme_methods->display_uri(
web_view, &web_view->scheme, uri);
@@ -375,8 +375,8 @@ void
mq_web_view_load_uri(MqWebView *web_view, const gchar *uri)
{
- mq_web_view_scheme_set_methods(&web_view->scheme_methods,
- &web_view->scheme, uri);
+ mq_web_view_scheme_set_methods(web_view, &web_view->scheme,
+ &web_view->scheme_methods, uri);
if (!uri) {
/* Happens during object construction. */