lib: Simplify creation of a GVariant
This introduces no functional changes. Signed-off-by: Philip Withnall <withnall@endlessm.com> https://phabricator.endlessm.com/T24004
This commit is contained in:
parent
42ba0e13e8
commit
1dcb9c36d1
|
@ -648,7 +648,7 @@ epc_get_app_filter (GDBusConnection *connection,
|
|||
{
|
||||
/* Default value. */
|
||||
content_rating_kind = "oars-1.1";
|
||||
oars_variant = g_variant_new_parsed ("@a{ss} {}");
|
||||
oars_variant = g_variant_new ("a{ss}", NULL);
|
||||
}
|
||||
|
||||
/* Check that the OARS filter is in a format we support. Currently, that’s
|
||||
|
|
Loading…
Reference in New Issue