summaryrefslogtreecommitdiffstats
path: root/src/web-view-schemes/normal.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 15:32:04 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 15:32:04 (EDT)
commitb4ef0797e5b7229edc82ed23285cf47197a2c237 (patch)
treefafe9db899eb08be00347c3658de6bb20a70b17d /src/web-view-schemes/normal.c
parentdc5dd489e478b474741285d8b753fd5c789e2c51 (diff)
downloadmarquee-b4ef0797e5b7229edc82ed23285cf47197a2c237.zip
marquee-b4ef0797e5b7229edc82ed23285cf47197a2c237.tar.gz
marquee-b4ef0797e5b7229edc82ed23285cf47197a2c237.tar.bz2
MqWebViewScheme: Add ready_cb member
And call it from mq_web_view_*_scheme_methods.initialize().
Diffstat (limited to 'src/web-view-schemes/normal.c')
-rw-r--r--src/web-view-schemes/normal.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/web-view-schemes/normal.c b/src/web-view-schemes/normal.c
index 5641a9c..7cecdab 100644
--- a/src/web-view-schemes/normal.c
+++ b/src/web-view-schemes/normal.c
@@ -41,9 +41,10 @@ match_uri(const gchar *uri)
}
static void
-initialize(MqWebView G_GNUC_UNUSED *web_view,
- MqWebViewScheme G_GNUC_UNUSED *scheme, const gchar G_GNUC_UNUSED *uri)
+initialize(MqWebView *web_view, MqWebViewScheme *scheme,
+ const gchar G_GNUC_UNUSED *uri)
{
+ scheme->ready_cb(scheme, web_view);
}
static void