From ecee7d86a849a12eaedef43450c394379cc8b795 Mon Sep 17 00:00:00 2001 From: Robert Ancell Date: Fri, 17 Jan 2020 16:43:17 +1300 Subject: docs: Fix examples of AsNodeToXmlFlags using an invalid flag. --- libappstream-glib/as-node.c | 2 +- libappstream-glib/as-store.c | 4 ++-- 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 * -- cgit v1.2.1