mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
rename variable
This commit is contained in:
parent
53e2ada69c
commit
dc32d00195
2 changed files with 3 additions and 4 deletions
|
|
@ -43,7 +43,7 @@ pub struct Page {
|
|||
impl Page {
|
||||
// Construct
|
||||
pub fn new_arc(
|
||||
name: GString,
|
||||
id: GString,
|
||||
action_tab_append: Arc<SimpleAction>,
|
||||
action_tab_page_navigation_base: Arc<SimpleAction>,
|
||||
action_tab_page_navigation_history_back: Arc<SimpleAction>,
|
||||
|
|
@ -72,8 +72,8 @@ impl Page {
|
|||
);
|
||||
|
||||
let widget = Widget::new_arc(
|
||||
&id,
|
||||
action_page_open.clone(),
|
||||
&name, // ID
|
||||
navigation.gobject(),
|
||||
content.gobject(),
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue