fixup! libmalcontent-ui: Update content rating formatting code

This commit is contained in:
Philip Withnall 2020-05-21 16:02:40 +01:00
parent 9064babe6f
commit 150d303d39
3 changed files with 26 additions and 6 deletions

View file

@ -316,7 +316,7 @@ static void
update_categories_from_language (MctUserControls *self)
{
GsContentRatingSystem rating_system;
const gchar * const * entries;
g_auto(GStrv) entries = NULL;
const gchar *rating_system_str;
const guint *ages;
gsize i;
@ -680,7 +680,7 @@ on_set_age_action_activated (GSimpleAction *action,
{
GsContentRatingSystem rating_system;
MctUserControls *self;
const gchar * const * entries;
g_auto(GStrv) entries = NULL;
const guint *ages;
guint age;
guint i;