diff options
author | Richard Hughes <richard@hughsie.com> | 2014-03-13 20:48:17 +0000 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2014-03-13 20:48:17 +0000 |
commit | 1a4c4134936a592b4465c54b02210572bbe67f33 (patch) | |
tree | dd7ec0dc8fcd4b1bc770feda4fc9dec37d2c2d32 /libappstream-glib/as-node.h | |
parent | d499e17d1b40396efe2caee988c81251de0cab46 (diff) | |
download | appstream-glib-1a4c4134936a592b4465c54b02210572bbe67f33.tar.gz |
Add as_node_get_localized_best() to get the best locale from a node
Diffstat (limited to 'libappstream-glib/as-node.h')
-rw-r--r-- | libappstream-glib/as-node.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libappstream-glib/as-node.h b/libappstream-glib/as-node.h index 8356e21..9089e18 100644 --- a/libappstream-glib/as-node.h +++ b/libappstream-glib/as-node.h @@ -65,6 +65,8 @@ gint as_node_get_attribute_as_int (const GNode *node, const gchar *key); GHashTable *as_node_get_localized (const GNode *node, const gchar *key); +const gchar *as_node_get_localized_best (const GNode *node, + const gchar *key); GHashTable *as_node_get_localized_unwrap (const GNode *node, GError **error); |