diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-30 18:47:37 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-30 18:47:37 (EDT) |
commit | d9e237c128621377715b67c36213159a3cfd5468 (patch) | |
tree | dc3dddf7391cc0fab02d31b0cd706dcb45df7a7e /src/web-view-schemes | |
parent | 83c0780b4137e2dc42d8812687c0170de8f634b0 (diff) | |
download | marquee-d9e237c128621377715b67c36213159a3cfd5468.zip marquee-d9e237c128621377715b67c36213159a3cfd5468.tar.gz marquee-d9e237c128621377715b67c36213159a3cfd5468.tar.bz2 |
mq_web_view_view_source_scheme_methods.rewrite_uri(): Use origin tab ID
Not the view tab ID.
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 * |