remove extra getters

This commit is contained in:
yggverse 2024-11-28 01:35:48 +02:00
parent 3ce272cd70
commit 0af69d99f6
56 changed files with 240 additions and 710 deletions

View file

@ -1,12 +1,10 @@
mod widget;
use widget::Widget;
use gtk::WindowControls;
use std::rc::Rc;
pub struct Control {
widget: Rc<Widget>,
pub widget: Rc<Widget>,
}
impl Control {
@ -16,9 +14,4 @@ impl Control {
widget: Rc::new(Widget::new()),
}
}
// Getters
pub fn gobject(&self) -> &WindowControls {
self.widget.gobject()
}
}