summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 05:18:09 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 05:18:09 (EDT)
commit12bb378c31069a45d3f02f62a3b84f4ed6a29f25 (patch)
tree9e676ae6f48bc497c3b5f9e23ca1150b930bd2dc /src
parentc93e3a1f32554feb4028d6854168a34b1a3e674a (diff)
downloadmarquee-12bb378c31069a45d3f02f62a3b84f4ed6a29f25.zip
marquee-12bb378c31069a45d3f02f62a3b84f4ed6a29f25.tar.gz
marquee-12bb378c31069a45d3f02f62a3b84f4ed6a29f25.tar.bz2
mq_web_view_view_source_scheme_methods.display_uri(): Implement
Diffstat (limited to 'src')
-rw-r--r--src/web-view-schemes/view-source.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c
index ec9fe85..144b782 100644
--- a/src/web-view-schemes/view-source.c
+++ b/src/web-view-schemes/view-source.c
@@ -60,9 +60,9 @@ rewrite_uri(MqWebViewScheme G_GNUC_UNUSED *scheme, const gchar *uri)
}
static gchar *
-display_uri(MqWebViewScheme G_GNUC_UNUSED *scheme, const gchar *uri)
+display_uri(MqWebViewScheme *scheme, const gchar G_GNUC_UNUSED *uri)
{
- return g_strdup(uri);
+ return g_strdup_printf("view-source:%s", scheme->view_source.uri);
}
#define WKCMA(ACTION) \