[sysprof] tools: fix type for profiler-ctl
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [sysprof] tools: fix type for profiler-ctl
- Date: Tue, 30 Jul 2019 22:52:18 +0000 (UTC)
commit 41f8565a25a81a71cef6214a37a88b808bbfa049
Author: Christian Hergert <chergert redhat com>
Date: Tue Jul 30 15:17:47 2019 -0700
tools: fix type for profiler-ctl
src/tools/sysprof-profiler-ctl.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/tools/sysprof-profiler-ctl.c b/src/tools/sysprof-profiler-ctl.c
index 5adc592..323147a 100644
--- a/src/tools/sysprof-profiler-ctl.c
+++ b/src/tools/sysprof-profiler-ctl.c
@@ -151,8 +151,8 @@ main (gint argc,
opt_object_path,
"org.gnome.Sysprof3.Profiler",
"Start",
- g_variant_new ("(h)", handle),
- NULL,
+ g_variant_new ("(a{sv}h)", NULL, handle),
+ G_VARIANT_TYPE ("()"),
G_DBUS_CALL_FLAGS_ALLOW_INTERACTIVE_AUTHORIZATION,
opt_timeout,
fd_list,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]