From 3310d83257dc3635d5ed58372a505e74df2d5a06 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Fri, 10 May 2019 15:09:50 -0700 Subject: [PATCH] sysprofd: use add_value() Otherwise we need another GVariantBuilder --- src/sysprofd/ipc-service-impl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysprofd/ipc-service-impl.c b/src/sysprofd/ipc-service-impl.c index 5fd9808c..8052fd82 100644 --- a/src/sysprofd/ipc-service-impl.c +++ b/src/sysprofd/ipc-service-impl.c @@ -254,7 +254,7 @@ ipc_service_impl_handle_get_process_info (IpcService *service, if (want_mountinfo) add_pid_proc_file_to (pid, "mountinfo", &dict); - g_variant_builder_add (&builder, "a{sv}", g_variant_dict_end (&dict)); + g_variant_builder_add_value (&builder, g_variant_dict_end (&dict)); } }