diff options
author | Patrick McDermott <pj@pehjota.net> | 2017-10-31 01:48:38 (EDT) |
---|---|---|
committer | Patrick McDermott <pj@pehjota.net> | 2017-10-31 02:08:56 (EDT) |
commit | 7acd80423d1a670dab9a5a2f3a13720d00ce75d7 (patch) | |
tree | 0b529ff102550d0e0ab5fe143b63ad7963eb7ae5 | |
parent | 6bfde17e7d07e0da3445bd95a259ba47e01df9f2 (diff) | |
download | marquee-7acd80423d1a670dab9a5a2f3a13720d00ce75d7.zip marquee-7acd80423d1a670dab9a5a2f3a13720d00ce75d7.tar.gz marquee-7acd80423d1a670dab9a5a2f3a13720d00ce75d7.tar.bz2 |
mq_web_view_view_source_scheme_methods.rewrite_uri(): Update TODO comment
Missing origin tab IDs are passed along as "origin-tab=0".
-rw-r--r-- | src/web-view-schemes/view-source.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); } |