mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-02 17:45:28 +00:00
update argument name
This commit is contained in:
parent
2adde0008d
commit
166f07aef8
1 changed files with 2 additions and 2 deletions
|
|
@ -6,10 +6,10 @@ pub struct Widget {
|
||||||
|
|
||||||
impl Widget {
|
impl Widget {
|
||||||
// Construct
|
// Construct
|
||||||
pub fn new(tray: &Box, title_widget: Option<&Box>) -> Self {
|
pub fn new(pack_start: &Box, title_widget: Option<&Box>) -> Self {
|
||||||
let gobject = HeaderBar::builder().build();
|
let gobject = HeaderBar::builder().build();
|
||||||
|
|
||||||
gobject.pack_start(tray);
|
gobject.pack_start(pack_start);
|
||||||
gobject.set_title_widget(title_widget);
|
gobject.set_title_widget(title_widget);
|
||||||
|
|
||||||
Self { gobject }
|
Self { gobject }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue