Don't specify associated types in subclassing that are added automatically

This commit is contained in:
Ian Douglas Scott 2022-07-22 12:47:21 -07:00
parent 33178a9a78
commit 4e95d4aead
2 changed files with 0 additions and 6 deletions

View file

@ -75,9 +75,6 @@ impl ObjectSubclass for ModeSelectionImp {
const NAME: &'static str = "ModeSelection";
type Type = ModeSelection;
type ParentType = gtk4::Widget;
type Interfaces = ();
type Instance = glib::subclass::basic::InstanceStruct<Self>;
type Class = glib::subclass::basic::ClassStruct<Self>;
fn class_init(klass: &mut Self::Class) {
klass.set_layout_manager_type::<gtk4::BinLayout>();

View file

@ -161,9 +161,6 @@ impl ObjectSubclass for SettingsEntryImp {
const NAME: &'static str = "SettingsEntry";
type Type = SettingsEntry;
type ParentType = gtk4::Widget;
type Interfaces = ();
type Instance = glib::subclass::basic::InstanceStruct<Self>;
type Class = glib::subclass::basic::ClassStruct<Self>;
fn class_init(klass: &mut Self::Class) {
// The layout manager determines how child widgets are laid out.