libsysprof-profile: fix GDBusConnection usage

This commit is contained in:
Christian Hergert
2023-06-03 23:13:12 -07:00
parent d1db76a08d
commit ece30b52b1

View File

@ -366,15 +366,15 @@ sysprof_perf_event_stream_new (GDBusConnection *connection,
g_dbus_connection_call_with_unix_fd_list (connection, g_dbus_connection_call_with_unix_fd_list (connection,
"org.gnome.Sysprof3", "org.gnome.Sysprof3",
"/org/gnome/Sysprof3/Service", "/org/gnome/Sysprof3",
"org.gnome.Sysprof3.Service", "org.gnome.Sysprof3.Service",
"PerfEventOpen", "PerfEventOpen",
g_variant_new ("(@a{sv}ii@ht)", g_variant_new ("(@a{sv}iiht)",
g_variant_dict_end (&options), g_variant_dict_end (&options),
-1, -1,
cpu, cpu,
group_fd_handle, group_fd_handle,
flags), (guint64)flags),
G_VARIANT_TYPE ("(h)"), G_VARIANT_TYPE ("(h)"),
G_DBUS_CALL_FLAGS_NONE, G_DBUS_CALL_FLAGS_NONE,
G_MAXUINT, G_MAXUINT,