mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-12 16:10:54 +00:00
sysprofd: use add_value()
Otherwise we need another GVariantBuilder
This commit is contained in:
@ -254,7 +254,7 @@ ipc_service_impl_handle_get_process_info (IpcService *service,
|
|||||||
if (want_mountinfo)
|
if (want_mountinfo)
|
||||||
add_pid_proc_file_to (pid, "mountinfo", &dict);
|
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));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user