summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-node.h
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2014-06-18 09:35:18 +0100
committerRichard Hughes <richard@hughsie.com>2014-06-18 09:35:18 +0100
commit924c1c8bcb0806150420689156f95129b30f65cd (patch)
tree35f87da3182d979a89aeec2ca8ae1ee9ef83e2c2 /libappstream-glib/as-node.h
parent49a50b120251d441aa7dcf3c9d87dbf33f6b3891 (diff)
downloadappstream-glib-924c1c8bcb0806150420689156f95129b30f65cd.tar.gz
Add as_node_remove_attribute()
Diffstat (limited to 'libappstream-glib/as-node.h')
-rw-r--r--libappstream-glib/as-node.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-node.h b/libappstream-glib/as-node.h
index ca306ea..092803e 100644
--- a/libappstream-glib/as-node.h
+++ b/libappstream-glib/as-node.h
@@ -136,6 +136,8 @@ void as_node_add_attribute (GNode *node,
const gchar *key,
const gchar *value,
gssize value_len);
+void as_node_remove_attribute (GNode *node,
+ const gchar *key);
GString *as_node_to_xml (const GNode *node,
AsNodeToXmlFlags flags);