From 40ab04d266bc067947e94a6cb8d0ecebbfa842da Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Tue, 6 May 2014 14:09:42 +0100 Subject: Do not save the 'xx' locale KDE tsk, tsk. --- libappstream-glib/as-node.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libappstream-glib/as-node.c b/libappstream-glib/as-node.c index 23c71be..ebeff93 100644 --- a/libappstream-glib/as-node.c +++ b/libappstream-glib/as-node.c @@ -1175,6 +1175,8 @@ as_node_insert_localized (GNode *parent, continue; if (g_strcmp0 (key, "x-test") == 0) continue; + if (g_strcmp0 (key, "xx") == 0) + continue; value = g_hash_table_lookup (localized, key); if ((insert_flags & AS_NODE_INSERT_FLAG_DEDUPE_LANG) > 0 && g_strcmp0 (value_c, value) == 0) -- cgit v1.2.1