diff options
author | Richard Hughes <richard@hughsie.com> | 2016-07-12 13:55:15 +0100 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2016-07-12 13:55:15 +0100 |
commit | 01a8ab188abf865b4387cd2d1915b789f6f145bf (patch) | |
tree | fc2acbf7ecba5b0428b518c27a95243a8bc831e6 /libappstream-glib/as-app-desktop.c | |
parent | c81c4fd97454ecd242c98352d2c8f5d699135942 (diff) | |
download | appstream-glib-01a8ab188abf865b4387cd2d1915b789f6f145bf.tar.gz |
trivial: Remove the X- hack from parsing the category list
We already check the whitelist, so nothing changes really.
Diffstat (limited to 'libappstream-glib/as-app-desktop.c')
-rw-r--r-- | libappstream-glib/as-app-desktop.c | 4 |
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; |