From 3f41a7a9f016841f2a57733fee47813518cdae4e Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Tue, 15 Feb 2022 18:34:25 +0100 Subject: [PATCH] gs-age-rating-context-dialog: Fix attribute processing Remove leftover 'break' statements, to process all attributes, instead of stop on the first attribute, event when it doesn't influence the rating. Closes https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1643 --- src/gs-age-rating-context-dialog.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gs-age-rating-context-dialog.c b/src/gs-age-rating-context-dialog.c index 02b85a7be..f2d7d25c2 100644 --- a/src/gs-age-rating-context-dialog.c +++ b/src/gs-age-rating-context-dialog.c @@ -821,7 +821,6 @@ gs_age_rating_context_dialog_process_attributes (AsContentRating continue; callback (violence_group[i], rating_value, user_data); - break; } for (gsize i = 0; social_group[i] != NULL; i++) { @@ -835,7 +834,6 @@ gs_age_rating_context_dialog_process_attributes (AsContentRating continue; callback (social_group[i], rating_value, user_data); - break; } } -- GitLab