Change Node from a frame subclass to a widget subclass.

This commit is contained in:
Tom A. Wagner
2021-01-12 10:44:12 +01:00
parent 5bf62eca6e
commit a3907a1832

View File

@@ -21,7 +21,7 @@ mod imp {
impl ObjectSubclass for Node {
const NAME: &'static str = "Node";
type Type = super::Node;
type ParentType = gtk::Frame;
type ParentType = gtk::Widget;
type Instance = glib::subclass::simple::InstanceStruct<Self>;
type Class = glib::subclass::simple::ClassStruct<Self>;
@@ -90,7 +90,6 @@ mod imp {
}
}
impl FrameImpl for Node {}
impl WidgetImpl for Node {}
}