summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2016-07-28 11:46:42 +0100
committerRichard Hughes <richard@hughsie.com>2016-07-28 11:46:42 +0100
commit90baa547a4a6268ae8750ece581a0ef432aca090 (patch)
tree713a047283112cb3ace8e763e988a16e8289180a
parent36e676c187eb2afc02c742624b7d42df4e024ea0 (diff)
downloadappstream-glib-90baa547a4a6268ae8750ece581a0ef432aca090.tar.gz
Do not split up the main AudioVideo category
Fixes: https://github.com/hughsie/appstream-glib/issues/121
-rw-r--r--libappstream-glib/as-app.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/libappstream-glib/as-app.c b/libappstream-glib/as-app.c
index 1233277..8c26eb1 100644
--- a/libappstream-glib/as-app.c
+++ b/libappstream-glib/as-app.c
@@ -2222,14 +2222,6 @@ as_app_add_category (AsApp *app, const gchar *category)
return;
}
- /* split this meta-category up */
- if (g_strcmp0 (category, "AudioVideo") == 0) {
- if (!as_app_has_category (app, "Audio"))
- as_app_add_category (app, "Audio");
- if (!as_app_has_category (app, "Video"))
- as_app_add_category (app, "Video");
- }
-
g_ptr_array_add (priv->categories, g_strdup (category));
}