From 5aeb788c3046ab5134691843b40d6318b14d5aa2 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 22:54:14 -0400 Subject: mq_web_view_scheme_set_methods(): Take an (MqWebView *) parameter --- (limited to 'src/web-view-schemes') diff --git a/src/web-view-schemes/methods.c b/src/web-view-schemes/methods.c index 828ac7a..9fb6896 100644 --- a/src/web-view-schemes/methods.c +++ b/src/web-view-schemes/methods.c @@ -38,8 +38,8 @@ check_and_set_methods(MqWebViewSchemeMethods **methods, } void -mq_web_view_scheme_set_methods(MqWebViewSchemeMethods **methods, - MqWebViewScheme *scheme, const gchar *uri) +mq_web_view_scheme_set_methods(MqWebView *web_view, MqWebViewScheme *scheme, + MqWebViewSchemeMethods **methods, const gchar *uri) { #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wunused-value" diff --git a/src/web-view-schemes/schemes.h b/src/web-view-schemes/schemes.h index 33f8e50..da0d55d 100644 --- a/src/web-view-schemes/schemes.h +++ b/src/web-view-schemes/schemes.h @@ -65,8 +65,8 @@ extern MqWebViewSchemeMethods mq_web_view_normal_scheme_methods; extern MqWebViewSchemeMethods mq_web_view_view_source_scheme_methods; void -mq_web_view_scheme_set_methods(MqWebViewSchemeMethods **methods, - MqWebViewScheme *scheme, const gchar *uri); +mq_web_view_scheme_set_methods(MqWebView *web_view, MqWebViewScheme *scheme, + MqWebViewSchemeMethods **methods, const gchar *uri); G_END_DECLS -- cgit v0.9.1