summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-20 09:10:15 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-20 09:19:32 +0100
commit3da28b0215ae72a464450fae7015eff4a84bec99 (patch)
tree9c2e2e0c9112358487a6f3dca4bf3207f5adf2b3
parentb8dd29212a30efc71e490e821d7a2d9266ed88c2 (diff)
downloadappstream-glib-3da28b0215ae72a464450fae7015eff4a84bec99.tar.gz
Always use the latest version of AppStream for logs
-rw-r--r--libappstream-builder/asb-app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libappstream-builder/asb-app.c b/libappstream-builder/asb-app.c
index 2f8fd7b..3696329 100644
--- a/libappstream-builder/asb-app.c
+++ b/libappstream-builder/asb-app.c
@@ -105,6 +105,7 @@ asb_app_to_xml (AsbApp *app)
_cleanup_object_unref_ AsStore *store;
store = as_store_new ();
+ as_store_set_api_version (store, 1.0f);
as_store_add_app (store, AS_APP (app));
str = as_store_to_xml (store,
AS_NODE_TO_XML_FLAG_FORMAT_INDENT |