mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
optimize clone semantics, enshort namespaces
This commit is contained in:
parent
fd9f69a9f0
commit
eabd16aaf7
20 changed files with 134 additions and 114 deletions
|
|
@ -28,8 +28,8 @@ impl Window {
|
|||
let action = Rc::new(Action::new());
|
||||
|
||||
// Init components
|
||||
let tab = Rc::new(Tab::new(profile, (browser_action.clone(), action.clone())));
|
||||
let header = Header::new(browser_action, action.clone(), &tab.widget.tab_view);
|
||||
let tab = Rc::new(Tab::new(&profile, (&browser_action, &action)));
|
||||
let header = Header::new((&browser_action, &action), &profile, &tab.widget.tab_view);
|
||||
let widget = Rc::new(Widget::new(&header.widget.gobject, &tab.widget.tab_view));
|
||||
|
||||
// Init events
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue