Fix bad show-error signal return type

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2022-06-23 14:25:18 +04:00
parent e5e1443292
commit ecbeb857c5

View File

@ -46,7 +46,7 @@ impl Handler {
if state {
item.set_property("active", false);
}
widget.emit_by_name::<()>("show-error", &[&e.to_string()]);
widget.emit_by_name::<bool>("show-error", &[&e.to_string()]);
},
}
}));