Don't bundle inline (data:) URIs

These are already bundled with the json itself.
tingping/wmclass
Alexander Larsson 2017-04-24 11:34:49 +02:00
parent 69123b564e
commit 0a0e311311
1 changed files with 4 additions and 0 deletions

View File

@ -453,6 +453,10 @@ builder_source_file_bundle (BuilderSource *source,
if (file == NULL)
return FALSE;
/* Inline URIs (data://) need not be bundled */
if (is_inline)
return TRUE;
app_dir_path = g_file_get_path (builder_context_get_app_dir (context));
download_dir_path = g_build_filename (app_dir_path,
"sources",