[gnome-software] core: Unconditionally set content rating data
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] core: Unconditionally set content rating data
- Date: Wed, 2 Oct 2019 13:49:12 +0000 (UTC)
commit eafede5387747c99aa96b0f0b896518bd0b4fd8a
Author: Philip Withnall <withnall endlessm com>
Date: Tue Apr 30 12:57:03 2019 +0100
core: Unconditionally set content rating data
This is needed for parental controls.
Signed-off-by: Philip Withnall <withnall endlessm com>
plugins/core/gs-appstream.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/core/gs-appstream.c b/plugins/core/gs-appstream.c
index 7647157e..def0001e 100644
--- a/plugins/core/gs-appstream.c
+++ b/plugins/core/gs-appstream.c
@@ -736,7 +736,7 @@ gs_appstream_refine_app (GsPlugin *plugin,
gs_app_set_scope (app, as_app_scope_from_string (tmp));
/* set content rating */
- if (refine_flags & GS_PLUGIN_REFINE_FLAGS_REQUIRE_CONTENT_RATING) {
+ if (TRUE) {
if (!gs_appstream_refine_app_content_ratings (plugin, app, component, error))
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]