mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 00:55:28 +00:00
rename constructors
This commit is contained in:
parent
4ae34e863f
commit
97bc98fd0b
2 changed files with 3 additions and 3 deletions
|
|
@ -29,7 +29,7 @@ pub struct Item {
|
|||
|
||||
impl Item {
|
||||
// Construct
|
||||
pub fn new(
|
||||
pub fn new_arc(
|
||||
page_navigation_request_text: Option<GString>,
|
||||
is_initially_current: bool,
|
||||
// Actions
|
||||
|
|
@ -142,7 +142,7 @@ impl Item {
|
|||
Ok(records) => {
|
||||
for record in records {
|
||||
// Construct new item object
|
||||
let item = Item::new(
|
||||
let item = Item::new_arc(
|
||||
None,
|
||||
record.is_initially_current,
|
||||
// Actions
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue