lib: Fix GVariant text format for default property value

It was a string in GVariant text format, not a GVariant format string,
so should have been passed to the parse function.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

https://phabricator.endlessm.com/T24004
This commit is contained in:
Philip Withnall 2018-12-11 16:52:06 +00:00
parent 7688308f86
commit 5d7e4d0b08
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ epc_get_app_filter (GDBusConnection *connection,
{
/* Default value. */
content_rating_kind = "oars-1.1";
oars_variant = g_variant_new ("@a{ss} {}");
oars_variant = g_variant_new_parsed ("@a{ss} {}");
}
/* Check that the OARS filter is in a format we support. Currently, thats