diff options
Diffstat (limited to 'libappstream-builder/asb-context.c')
-rw-r--r-- | libappstream-builder/asb-context.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libappstream-builder/asb-context.c b/libappstream-builder/asb-context.c index 69f920f..f6ea8b4 100644 --- a/libappstream-builder/asb-context.c +++ b/libappstream-builder/asb-context.c @@ -567,10 +567,9 @@ asb_context_add_filename (AsbContext *ctx, const gchar *filename, GError **error filename); return FALSE; } - if (!asb_package_open (pkg, filename, error)) - return FALSE; /* add to array */ + asb_package_set_filename (pkg, filename); asb_context_add_package (ctx, pkg); return TRUE; } |