mirror of
https://gitlab.freedesktop.org/pipewire/helvum
synced 2026-03-15 19:46:10 +08:00
Change Node from a frame subclass to a widget subclass.
This commit is contained in:
@@ -21,7 +21,7 @@ mod imp {
|
|||||||
impl ObjectSubclass for Node {
|
impl ObjectSubclass for Node {
|
||||||
const NAME: &'static str = "Node";
|
const NAME: &'static str = "Node";
|
||||||
type Type = super::Node;
|
type Type = super::Node;
|
||||||
type ParentType = gtk::Frame;
|
type ParentType = gtk::Widget;
|
||||||
type Instance = glib::subclass::simple::InstanceStruct<Self>;
|
type Instance = glib::subclass::simple::InstanceStruct<Self>;
|
||||||
type Class = glib::subclass::simple::ClassStruct<Self>;
|
type Class = glib::subclass::simple::ClassStruct<Self>;
|
||||||
|
|
||||||
@@ -90,7 +90,6 @@ mod imp {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl FrameImpl for Node {}
|
|
||||||
impl WidgetImpl for Node {}
|
impl WidgetImpl for Node {}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user