[gnome-software/gnome-41: 1/2] gs-age-rating-context-dialog: Fix coalescing groups when rating is lower
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-41: 1/2] gs-age-rating-context-dialog: Fix coalescing groups when rating is lower
- Date: Wed, 8 Dec 2021 16:59:50 +0000 (UTC)
commit 5b27225d79db321217a66d246b7dbcd745922e94
Author: Philip Withnall <pwithnall endlessos org>
Date: Wed Dec 8 15:35:35 2021 +0000
gs-age-rating-context-dialog: Fix coalescing groups when rating is lower
When the age rating of one group is lower than the group it’s to be
coalesced into, it should still be coalesced. Previously, coalescing
would only happen if the ages were identical.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Fixes: #1565
src/gs-age-rating-context-dialog.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/gs-age-rating-context-dialog.c b/src/gs-age-rating-context-dialog.c
index 617f335fd..50b9b5517 100644
--- a/src/gs-age-rating-context-dialog.c
+++ b/src/gs-age-rating-context-dialog.c
@@ -466,7 +466,7 @@ gs_age_rating_context_dialog_process_attributes (AsContentRating
if (g_strv_contains (coalesce_groups + 1, rating_ids[i]) &&
as_content_rating_attribute_to_csm_age (coalesce_groups[0],
as_content_rating_get_value (content_rating,
- coalesce_groups[0]))
== rating_age)
+ coalesce_groups[0]))
= rating_age)
continue;
callback (rating_ids[i], rating_value, user_data);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]