diff options
author | Robert Ancell <robert.ancell@canonical.com> | 2020-01-17 16:43:17 +1300 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2020-01-17 06:24:59 +0000 |
commit | ecee7d86a849a12eaedef43450c394379cc8b795 (patch) | |
tree | fc62f9540def43dc0d75ad8836a53fa45f89bb57 | |
parent | bbe0100bea1f415cf227d171e52c186831834b93 (diff) | |
download | appstream-glib-ecee7d86a849a12eaedef43450c394379cc8b795.tar.gz |
docs: Fix examples of AsNodeToXmlFlags using an invalid flag.
-rw-r--r-- | libappstream-glib/as-node.c | 2 | ||||
-rw-r--r-- | 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 * |