diff options
author | Richard Hughes <richard@hughsie.com> | 2014-03-20 15:41:04 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-03-20 17:54:52 +0000 |
commit | 50fc0be57d11b757c78b1b2445f4a9d7137a243d (patch) | |
tree | 6175aea257681c9c7a605493515e39655517a556 /libappstream-glib/as-image.c | |
parent | 2f4dc7bdbc3b407889f239d87b2b1ae018e3a2d8 (diff) | |
download | appstream-glib-50fc0be57d11b757c78b1b2445f4a9d7137a243d.tar.gz |
Add an 'api-version' property to AsStore to generate old-style metadata
This allows us to keep up with the latest API and still write metadata
compatible with old applications not using libappstream-glib or libappstream.
Diffstat (limited to 'libappstream-glib/as-image.c')
-rw-r--r-- | libappstream-glib/as-image.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libappstream-glib/as-image.c b/libappstream-glib/as-image.c index 9079269..e18eee7 100644 --- a/libappstream-glib/as-image.c +++ b/libappstream-glib/as-image.c @@ -262,6 +262,7 @@ as_image_set_kind (AsImage *image, AsImageKind kind) * as_image_node_insert: (skip) * @image: a #AsImage instance. * @parent: the parent #GNode to use.. + * @api_version: the AppStream API version * * Inserts the image into the DOM tree. * @@ -270,7 +271,7 @@ as_image_set_kind (AsImage *image, AsImageKind kind) * Since: 0.1.0 **/ GNode * -as_image_node_insert (AsImage *image, GNode *parent) +as_image_node_insert (AsImage *image, GNode *parent, gdouble api_version) { AsImagePrivate *priv = GET_PRIVATE (image); GNode *n; |