Don't specify associated types in subclassing that are added automatically
This commit is contained in:
parent
33178a9a78
commit
4e95d4aead
2 changed files with 0 additions and 6 deletions
|
|
@ -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>();
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue