1
0
Fork 0
forked from wry/wry

autocommit 2022-02-06 20:12:09 CET

This commit is contained in:
Julian Orth 2022-02-06 20:12:09 +01:00
parent 3f50b0c75e
commit 96038f49bc
18 changed files with 60 additions and 90 deletions

View file

@ -258,7 +258,7 @@ impl Client {
}
}
pub fn protocol_error(&self, obj: &dyn Object, code: u32, message: String) {
pub fn protocol_error(&self, obj: &dyn Object, code: u32, message: &str) {
if let Ok(d) = self.display() {
d.send_error(obj.id(), code, message);
}