mirror of
https://github.com/flatpak/flatpak.git
synced 2026-10-23 07:59:28 -04:00
dbus-portal: Fix return value type of filtered NameHasOwner
Fixes https://github.com/flatpak/flatpak/issues/817
This commit is contained in:
1 parent
e69237f792
commit
bd22ff8d42
1 file changed
+1
-1
@@ -1302,7 +1302,7 @@ get_bool_reply_for_header (FlatpakProxyClient *client, Header *header, gboolean
|
||||
g_dbus_message_set_message_type (reply, G_DBUS_MESSAGE_TYPE_METHOD_RETURN);
|
||||
g_dbus_message_set_flags (reply, G_DBUS_MESSAGE_FLAGS_NO_REPLY_EXPECTED);
|
||||
g_dbus_message_set_reply_serial (reply, header->serial - client->serial_offset);
|
||||
g_dbus_message_set_body (reply, g_variant_new_boolean (val));
|
||||
g_dbus_message_set_body (reply, g_variant_new ("(b)", val));
|
||||
|
||||
return reply;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user