mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05: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
|
|
@ -51,7 +51,7 @@ impl Item {
|
|||
tab_action,
|
||||
);
|
||||
|
||||
let widget = Widget::new_rc(
|
||||
let widget = Rc::new(Widget::new(
|
||||
id.as_str(),
|
||||
tab_view,
|
||||
page.gobject(),
|
||||
|
|
@ -59,7 +59,7 @@ impl Item {
|
|||
position,
|
||||
is_pinned,
|
||||
is_selected,
|
||||
); // @TODO
|
||||
)); // @TODO
|
||||
|
||||
// Return struct
|
||||
Rc::new(Self { id, page, widget })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue