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:
parent
7688308f86
commit
5d7e4d0b08
|
@ -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, that’s
|
||||
|
|
Loading…
Reference in New Issue