From d5d032cf6644dd8b8e2bd50d4aef9ed478c04784 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Mon, 30 Oct 2017 15:35:17 -0400 Subject: mq_web_view_scheme_connect_ready_callback(): New function --- (limited to 'src/web-view-schemes/methods.c') diff --git a/src/web-view-schemes/methods.c b/src/web-view-schemes/methods.c index 96c5496..e46f0b1 100644 --- a/src/web-view-schemes/methods.c +++ b/src/web-view-schemes/methods.c @@ -21,6 +21,13 @@ #include "schemes.h" +void +mq_web_view_scheme_connect_ready_callback(MqWebViewScheme *scheme, + void (*ready_cb)(MqWebViewScheme *, MqWebView *)) +{ + scheme->ready_cb = ready_cb; +} + static gboolean check_and_set_methods(MqWebViewSchemeMethods **methods, MqWebViewScheme *scheme, const gchar *uri, -- cgit v0.9.1