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:
Philip Withnall 2018-12-14 14:26:15 +00:00
parent 42ba0e13e8
commit 1dcb9c36d1
1 changed files with 1 additions and 1 deletions

View File

@ -648,7 +648,7 @@ epc_get_app_filter (GDBusConnection *connection,
{ {
/* Default value. */ /* Default value. */
content_rating_kind = "oars-1.1"; 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, thats /* Check that the OARS filter is in a format we support. Currently, thats