diff options
Diffstat (limited to 'src/web-view-schemes')
-rw-r--r-- | src/web-view-schemes/view-source.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c index ab36f49..2236d48 100644 --- a/src/web-view-schemes/view-source.c +++ b/src/web-view-schemes/view-source.c @@ -70,11 +70,11 @@ finalize(MqWebViewScheme *scheme) } static gchar * -rewrite_uri(MqWebView *web_view, MqWebViewScheme G_GNUC_UNUSED *scheme, +rewrite_uri(MqWebView *web_view, MqWebViewScheme *scheme, const gchar G_GNUC_UNUSED *uri) { - return g_strdup_printf("view-source:view-tab=%" PRId64, - mq_tab_page_get_id(mq_web_view_get_tab_page(web_view))); + return g_strdup_printf("view-source:origin-tab=%" PRId64, + scheme->view_source.origin_tab_id); } static gchar * |