From 7acd80423d1a670dab9a5a2f3a13720d00ce75d7 Mon Sep 17 00:00:00 2001 From: Patrick McDermott Date: Tue, 31 Oct 2017 01:48:38 -0400 Subject: mq_web_view_view_source_scheme_methods.rewrite_uri(): Update TODO comment Missing origin tab IDs are passed along as "origin-tab=0". --- (limited to 'src/web-view-schemes') diff --git a/src/web-view-schemes/view-source.c b/src/web-view-schemes/view-source.c index b95af22..617cfe1 100644 --- a/src/web-view-schemes/view-source.c +++ b/src/web-view-schemes/view-source.c @@ -66,8 +66,7 @@ static gchar * rewrite_uri(MqWebView G_GNUC_UNUSED *web_view, MqWebViewScheme *scheme, const gchar G_GNUC_UNUSED *uri) { - /* TODO: Handle reloads and missing origin tab IDs (i.e. user loaded - * "view-source:URI"). */ + /* TODO: Handle reloads. */ return g_strdup_printf("view-source:origin-tab=%" PRId64 "&uri=%s", scheme->view_source.origin_tab_id, scheme->view_source.uri); } -- cgit v0.9.1