From 166f07aef88534a185f160f12de2f69655e152df Mon Sep 17 00:00:00 2001 From: yggverse Date: Sun, 6 Oct 2024 05:55:14 +0300 Subject: [PATCH] update argument name --- src/app/browser/header/widget.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/browser/header/widget.rs b/src/app/browser/header/widget.rs index 1811d194..6017062f 100644 --- a/src/app/browser/header/widget.rs +++ b/src/app/browser/header/widget.rs @@ -6,10 +6,10 @@ pub struct Widget { impl Widget { // 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(); - gobject.pack_start(tray); + gobject.pack_start(pack_start); gobject.set_title_widget(title_widget); Self { gobject }