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