image: Remove new()

Since we already `#[derive(Default)]`, we don't need
a `new()` function to do the same thing
This commit is contained in:
Christopher Davis 2022-02-04 15:48:14 -08:00
parent 1737db370b
commit 69e9c1b4fc

View file

@ -41,15 +41,6 @@ mod imp {
const NAME: &'static str = "LpImage";
type ParentType = gtk::Widget;
type Type = super::LpImage;
fn new() -> Self {
Self {
file: RefCell::default(),
image_width: Cell::default(),
image_height: Cell::default(),
texture: RefCell::default(),
}
}
}
impl ObjectImpl for LpImage {