mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
remove extra getters
This commit is contained in:
parent
3ce272cd70
commit
0af69d99f6
56 changed files with 240 additions and 710 deletions
|
|
@ -1,7 +1,7 @@
|
|||
use gtk::{PackType, WindowControls};
|
||||
|
||||
pub struct Widget {
|
||||
gobject: WindowControls,
|
||||
pub gobject: WindowControls,
|
||||
}
|
||||
|
||||
impl Widget {
|
||||
|
|
@ -14,9 +14,4 @@ impl Widget {
|
|||
.build(),
|
||||
}
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn gobject(&self) -> &WindowControls {
|
||||
&self.gobject
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue