summaryrefslogtreecommitdiffstats
path: root/src/web-view-schemes/normal.c
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 15:09:32 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 15:09:32 (EDT)
commit6a4fb1c24d8bdb2c17ddb153c95f899f6bb339c4 (patch)
tree81f803de2c7be65223ba7bc155d1ea01b06cb16d /src/web-view-schemes/normal.c
parent05e294808c5c50bff54a512ea5d96ac34ec84991 (diff)
downloadmarquee-6a4fb1c24d8bdb2c17ddb153c95f899f6bb339c4.zip
marquee-6a4fb1c24d8bdb2c17ddb153c95f899f6bb339c4.tar.gz
marquee-6a4fb1c24d8bdb2c17ddb153c95f899f6bb339c4.tar.bz2
mq_web_view_*_scheme_methods->initialize(): New methods
Diffstat (limited to 'src/web-view-schemes/normal.c')
-rw-r--r--src/web-view-schemes/normal.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/web-view-schemes/normal.c b/src/web-view-schemes/normal.c
index 9b64b5d..5641a9c 100644
--- a/src/web-view-schemes/normal.c
+++ b/src/web-view-schemes/normal.c
@@ -41,6 +41,12 @@ 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)
+{
+}
+
+static void
finalize(MqWebViewScheme *scheme)
{
memset(&scheme->normal, 0, sizeof(scheme->normal));
@@ -779,6 +785,7 @@ save_file(MqWebView *web_view, MqWebViewScheme *scheme)
MqWebViewSchemeMethods mq_web_view_normal_scheme_methods = {
.match_uri = match_uri,
+ .initialize = initialize,
.finalize = finalize,
.rewrite_uri = rewrite_uri,
.display_uri = display_uri,