summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-09-17 20:50:45 +0100
committerRichard Hughes <richard@hughsie.com>2015-09-17 20:50:45 +0100
commit0d7a837004673ce1e621734762d83a30f1123474 (patch)
treea0a4e11de75a89c87658979f48dd8243a9d35865
parent497d2956b6c6e59a447bd2978ae0b88dea068c4f (diff)
downloadappstream-glib-0d7a837004673ce1e621734762d83a30f1123474.tar.gz
trivial: Remove a now-unused veto rule
-rw-r--r--libappstream-glib/as-app-desktop.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/libappstream-glib/as-app-desktop.c b/libappstream-glib/as-app-desktop.c
index 510f165..05f2556 100644
--- a/libappstream-glib/as-app-desktop.c
+++ b/libappstream-glib/as-app-desktop.c
@@ -191,15 +191,6 @@ as_app_parse_file_key (AsApp *app,
NULL, NULL);
for (i = 0; list[i] != NULL; i++) {
- /* check categories that if present would blacklist
- * the application */
- if (fnmatch ("X-*-Settings-Panel", list[i], 0) == 0 ||
- fnmatch ("X-*-Settings", list[i], 0) == 0 ||
- fnmatch ("X-*-SettingsDialog", list[i], 0) == 0) {
- as_app_add_veto (app, "category '%s' blacklisted", list[i]);
- continue;
- }
-
/* not a standard category */
if (g_str_has_prefix (list[i], "X-"))
continue;