Remove widgets::init()

We don't need this since `TemplateChild` registers the type for
us now.
This commit is contained in:
Christopher Davis 2021-09-24 06:25:33 -07:00
parent e41acf0701
commit 3ec5ad42db
2 changed files with 0 additions and 11 deletions

View file

@ -17,16 +17,6 @@
//
// SPDX-License-Identifier: GPL-3.0-or-later
use glib::prelude::*;
mod image_view;
pub use image_view::IvImageView;
pub fn init() {
// For each widget we use in a template,
// we need to ensure the type is set up.
// This is equivalent to doing g_type_ensure ()
// in C.
IvImageView::static_type();
}