From a3907a1832a8c582b45e0ce58ed63a4ca94c9641 Mon Sep 17 00:00:00 2001 From: "Tom A. Wagner" Date: Tue, 12 Jan 2021 10:44:12 +0100 Subject: [PATCH] Change Node from a frame subclass to a widget subclass. --- src/view/node.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/view/node.rs b/src/view/node.rs index 808d39a..bd9f7b0 100644 --- a/src/view/node.rs +++ b/src/view/node.rs @@ -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; type Class = glib::subclass::simple::ClassStruct; @@ -90,7 +90,6 @@ mod imp { } } - impl FrameImpl for Node {} impl WidgetImpl for Node {} }