summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Ancell <robert.ancell@canonical.com>2020-01-17 16:43:17 +1300
committerRichard Hughes <richard@hughsie.com>2020-01-17 06:24:59 +0000
commitecee7d86a849a12eaedef43450c394379cc8b795 (patch)
treefc62f9540def43dc0d75ad8836a53fa45f89bb57
parentbbe0100bea1f415cf227d171e52c186831834b93 (diff)
downloadappstream-glib-ecee7d86a849a12eaedef43450c394379cc8b795.tar.gz
docs: Fix examples of AsNodeToXmlFlags using an invalid flag.
-rw-r--r--libappstream-glib/as-node.c2
-rw-r--r--libappstream-glib/as-store.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c
index 40ef277..7fd6851 100644
--- a/libappstream-glib/as-node.c
+++ b/libappstream-glib/as-node.c
@@ -560,7 +560,7 @@ typedef struct {
/**
* as_node_to_xml:
* @node: a #AsNode.
- * @flags: the AsNodeToXmlFlags, e.g. %AS_NODE_INSERT_FLAG_PRE_ESCAPED.
+ * @flags: the AsNodeToXmlFlags, e.g. %AS_NODE_TO_XML_FLAG_NONE.
*
* Converts a node and it's children to XML.
*
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c
index 731b5e2..443f983 100644
--- a/libappstream-glib/as-store.c
+++ b/libappstream-glib/as-store.c
@@ -2469,7 +2469,7 @@ as_store_remove_apps_with_veto (AsStore *store)
/**
* as_store_to_xml:
* @store: a #AsStore instance.
- * @flags: the AsNodeToXmlFlags, e.g. %AS_NODE_INSERT_FLAG_NONE.
+ * @flags: the AsNodeToXmlFlags, e.g. %AS_NODE_TO_XML_FLAG_NONE.
*
* Outputs an XML representation of all the applications in the store.
*
@@ -2578,7 +2578,7 @@ as_store_convert_icons (AsStore *store, AsIconKind kind, GError **error)
* as_store_to_file:
* @store: a #AsStore instance.
* @file: file
- * @flags: the AsNodeToXmlFlags, e.g. %AS_NODE_INSERT_FLAG_NONE.
+ * @flags: the AsNodeToXmlFlags, e.g. %AS_NODE_TO_XML_FLAG_NONE.
* @cancellable: A #GCancellable, or %NULL
* @error: A #GError or %NULL
*