image_view: Remove present()
Using a layout manager actually does this for us.
This commit is contained in:
parent
80502064ce
commit
363cbc85bc
1 changed files with 1 additions and 7 deletions
|
|
@ -134,13 +134,7 @@ mod imp {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl WidgetImpl for IvImageView {
|
impl WidgetImpl for IvImageView {}
|
||||||
fn size_allocate(&self, widget: &Self::Type, width: i32, height: i32, baseline: i32) {
|
|
||||||
self.parent_size_allocate(widget, width, height, baseline);
|
|
||||||
self.popover.present();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
impl BinImpl for IvImageView {}
|
impl BinImpl for IvImageView {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue