[sysprof] sysprofd: use add_value()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] sysprofd: use add_value()
- Date: Wed, 29 May 2019 22:21:15 +0000 (UTC)
commit 3310d83257dc3635d5ed58372a505e74df2d5a06
Author: Christian Hergert <chergert redhat com>
Date: Fri May 10 15:09:50 2019 -0700
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 5fd9808..8052fd8 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));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]