summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPatrick McDermott <pj@pehjota.net>2017-10-30 05:23:42 (EDT)
committer Patrick McDermott <pj@pehjota.net>2017-10-30 05:23:42 (EDT)
commita8672f6e466009c1105de4129d53cbd21d650dca (patch)
tree0396f1aee77dfd727107f8d7b9018518942c089f /src
parentd60a212d3206486b831d0fb7ec8959e3d9a5b0d8 (diff)
downloadmarquee-a8672f6e466009c1105de4129d53cbd21d650dca.zip
marquee-a8672f6e466009c1105de4129d53cbd21d650dca.tar.gz
marquee-a8672f6e466009c1105de4129d53cbd21d650dca.tar.bz2
mq_web_view_view_source_scheme_methods.rewrite_uri(): Fix mq_tab_page_get_id() call
Diffstat (limited to 'src')
-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 *