mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
define ptr container outside
This commit is contained in:
parent
7b2c07ac45
commit
a5fc2a7475
58 changed files with 230 additions and 272 deletions
|
|
@ -32,8 +32,8 @@ impl Window {
|
|||
let action = Rc::new(Action::new());
|
||||
|
||||
// Init components
|
||||
let tab = Tab::new_rc(browser_action.clone(), action.clone());
|
||||
let header = Header::new_rc(browser_action, action.clone(), tab.gobject());
|
||||
let tab = Rc::new(Tab::new(browser_action.clone(), action.clone()));
|
||||
let header = Header::new(browser_action, action.clone(), tab.gobject());
|
||||
|
||||
// GTK
|
||||
let widget = Rc::new(Widget::new(header.gobject(), tab.gobject()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue