summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-06-02 13:08:23 +0100
committerRichard Hughes <richard@hughsie.com>2016-06-02 13:08:47 +0100
commit9f0bf35993a9469df6448fa751c2888c875e4054 (patch)
treee6d40b93dbb9e4be294342596e1052dad828bf42
parent795855f5aff0410081d9dd5d28d7bb1462b45b8b (diff)
downloadappstream-glib-9f0bf35993a9469df6448fa751c2888c875e4054.tar.gz
Do not rename a category ID in AsApp
Doing this here is the wrong level entirely.
-rw-r--r--libappstream-glib/as-app.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 77695c5..87a2236 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -2190,10 +2190,6 @@ as_app_add_category (AsApp *app, const gchar *category)
return;
}
- /* simple substitution */
- if (g_strcmp0 (category, "Feed") == 0)
- category = "News";
-
/* split this meta-category up */
if (g_strcmp0 (category, "AudioVideo") == 0) {
as_app_add_category (app, "Audio");