wayland: remove Object::num_requests
This commit is contained in:
parent
19bd17c7dc
commit
0ac1bb8507
76 changed files with 168 additions and 486 deletions
|
|
@ -204,16 +204,12 @@ impl WlBuffer {
|
|||
}
|
||||
|
||||
object_base! {
|
||||
WlBuffer;
|
||||
self = WlBuffer;
|
||||
|
||||
DESTROY => destroy,
|
||||
}
|
||||
|
||||
impl Object for WlBuffer {
|
||||
fn num_requests(&self) -> u32 {
|
||||
DESTROY + 1
|
||||
}
|
||||
}
|
||||
impl Object for WlBuffer {}
|
||||
|
||||
dedicated_add_obj!(WlBuffer, WlBufferId, buffers);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue