image_view: Remove present()

Using a layout manager actually does this for us.
This commit is contained in:
Christopher Davis 2021-09-29 01:00:31 -07:00
parent 80502064ce
commit 363cbc85bc

View file

@ -134,13 +134,7 @@ mod imp {
}
}
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 WidgetImpl for IvImageView {}
impl BinImpl for IvImageView {}
}