diff options
author | Richard Hughes <richard@hughsie.com> | 2015-08-03 12:49:04 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2015-08-03 12:49:04 +0100 |
commit | 2f715d9c7612473e4f7cbea843e3b3079df8bb3e (patch) | |
tree | b41d1f96dd39d0ab96f9941476dacac3a512c5df /libappstream-glib/as-node.h | |
parent | 6ad012a9fa6f02e7da85fb9bb9155920149b8465 (diff) | |
download | appstream-glib-2f715d9c7612473e4f7cbea843e3b3079df8bb3e.tar.gz |
Drop the unused _len arguments on many functions
Using the length of -1 for 'unknown' breaks the GIR-generated bindings.
This breaks API and ABI and the soname has been updated to reflect this.
Diffstat (limited to 'libappstream-glib/as-node.h')
-rw-r--r-- | libappstream-glib/as-node.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/libappstream-glib/as-node.h b/libappstream-glib/as-node.h index 8690f8e..e2d04be 100644 --- a/libappstream-glib/as-node.h +++ b/libappstream-glib/as-node.h @@ -137,15 +137,12 @@ void as_node_set_name (GNode *node, const gchar *name); void as_node_set_data (GNode *node, const gchar *cdata, - gssize cdata_len, AsNodeInsertFlags insert_flags); void as_node_set_comment (GNode *node, - const gchar *comment, - gssize comment_len); + const gchar *comment); void as_node_add_attribute (GNode *node, const gchar *key, - const gchar *value, - gssize value_len); + const gchar *value); void as_node_add_attribute_as_int (GNode *node, const gchar *key, gint value); |