summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/web-view-schemes/view-source.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c
index 4a2f910..d8530dc 100644
--- a/src/web-view-schemes/view-source.c
+++ b/src/web-view-schemes/view-source.c
@@ -56,7 +56,7 @@ rewrite_uri(MqWebView *web_view, MqWebViewScheme *scheme, const gchar *uri)
/* Rewrite URI. */
return g_strdup_printf("view-source:view-tab=%" PRId64,
- mq_tab_page_get_id(web_view));
+ mq_tab_page_get_id(mq_web_view_get_tab_page(web_view)));
}
static gchar *