summaryrefslogtreecommitdiff
path: root/libappstream-builder/asb-utils.c
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-08-26 09:36:21 +0100
committerRichard Hughes <richard@hughsie.com>2014-08-26 09:38:13 +0100
commit8ee6413aaddd257c45399fd8d96bc0d142bf64f9 (patch)
tree83929f7062f8ae2eb06031a94058b2525f379526 /libappstream-builder/asb-utils.c
parent45d6deb1f5197f5e7188af261bc36fbbbf7986de (diff)
downloadappstream-glib-8ee6413aaddd257c45399fd8d96bc0d142bf64f9.tar.gz
trivial: Set the source on extra AppStream files
Diffstat (limited to 'libappstream-builder/asb-utils.c')
-rw-r--r--libappstream-builder/asb-utils.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-builder/asb-utils.c b/libappstream-builder/asb-utils.c
index e5ff1b4..f4544ea 100644
--- a/libappstream-builder/asb-utils.c
+++ b/libappstream-builder/asb-utils.c
@@ -418,6 +418,7 @@ asb_utils_add_apps_from_file (GList **apps, const gchar *filename, GError **erro
array = as_store_get_apps (store);
for (i = 0; i < array->len; i++) {
app = g_ptr_array_index (array, i);
+ as_app_set_source_file (app, filename);
asb_plugin_add_app (apps, app);
}
return TRUE;