summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-07-12 13:55:15 +0100
committerRichard Hughes <richard@hughsie.com>2016-07-12 13:55:15 +0100
commit01a8ab188abf865b4387cd2d1915b789f6f145bf (patch)
treefc2acbf7ecba5b0428b518c27a95243a8bc831e6
parentc81c4fd97454ecd242c98352d2c8f5d699135942 (diff)
downloadappstream-glib-01a8ab188abf865b4387cd2d1915b789f6f145bf.tar.gz
trivial: Remove the X- hack from parsing the category list
We already check the whitelist, so nothing changes really.
-rw-r--r--libappstream-glib/as-app-desktop.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libappstream-glib/as-app-desktop.c b/libappstream-glib/as-app-desktop.c
index 28605ca..990b2c5 100644
--- a/libappstream-glib/as-app-desktop.c
+++ b/libappstream-glib/as-app-desktop.c
@@ -202,10 +202,6 @@ as_app_parse_file_key (AsApp *app,
}
}
- /* not a standard category */
- if (g_str_has_prefix (list[i], "X-"))
- continue;
-
/* check the category is valid */
if (!as_utils_is_category_id (list[i]))
continue;