[sysprof/wip/chergert/sysprof-3] sysprofd: use add_value()
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof/wip/chergert/sysprof-3] sysprofd: use add_value()
- Date: Fri, 10 May 2019 22:30:17 +0000 (UTC)
commit 31ca66e5ea646d20c1721ecc1a5fe1cdf6ee3203
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]