Commit adbf1b8f authored by Guido Gunther's avatar Guido Gunther
Browse files

Use bool type instead of int

Otherwise we crash like

    Librem5/virtboard!18 (comment 7906)
parent 64d31b0b
Pipeline #1443 passed with stage
in 1 minute and 7 seconds
......@@ -1199,7 +1199,7 @@ static int
set_visible(sd_bus_message *m, void *userdata, sd_bus_error *ret_error)
{
struct virtual_keyboard *keyboard = userdata;
bool value;
int value;
int ret = sd_bus_message_read(m, "b", &value);
if (ret < 0) {
fprintf(stderr, "Failed to read dbus argument\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment