mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 01:25:27 +00:00
remove extra getters, give gobject names
This commit is contained in:
parent
cd49b36887
commit
2a59bebea9
17 changed files with 104 additions and 221 deletions
|
|
@ -7,12 +7,11 @@ use sensitive::Sensitive;
|
|||
use widget::Widget;
|
||||
|
||||
use crate::app::browser::window::tab::item::Action as TabAction;
|
||||
use adw::Clamp;
|
||||
use gtk::glib::Uri;
|
||||
use std::rc::Rc;
|
||||
|
||||
pub struct Input {
|
||||
widget: Rc<Widget>,
|
||||
pub widget: Rc<Widget>,
|
||||
}
|
||||
|
||||
impl Input {
|
||||
|
|
@ -54,9 +53,4 @@ impl Input {
|
|||
Sensitive::new(action, base, title, max_length).gobject(),
|
||||
));
|
||||
}
|
||||
|
||||
// Getters
|
||||
pub fn gobject(&self) -> &Clamp {
|
||||
self.widget.gobject()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue