summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-04-23 12:17:52 +0100
committerRichard Hughes <richard@hughsie.com>2014-04-23 12:17:56 +0100
commit4b18ff27ee0af614190c8e43efc953adb7fa5f67 (patch)
treeafdfa6426d3a13bbf45d3eb35d67d649f834edba
parent5167081e91045d0286a88fdf55e1fb1f971df016 (diff)
downloadappstream-glib-4b18ff27ee0af614190c8e43efc953adb7fa5f67.tar.gz
trivial: Include captions for slightly over v0.4 API version
<captions> were being used between 0.4 and 0.5, so lets call this 0.4.1 for code simplicity.
-rw-r--r--libappstream-glib/as-screenshot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libappstream-glib/as-screenshot.c b/libappstream-glib/as-screenshot.c
index 596c007..a48f303 100644
--- a/libappstream-glib/as-screenshot.c
+++ b/libappstream-glib/as-screenshot.c
@@ -264,7 +264,7 @@ as_screenshot_node_insert (AsScreenshot *screenshot,
AS_NODE_INSERT_FLAG_NONE,
"type", as_screenshot_kind_to_string (priv->kind),
NULL);
- if (api_version >= 0.5) {
+ if (api_version >= 0.41) {
as_node_insert_localized (n,
"caption",
priv->captions,