enshort method name

This commit is contained in:
yggverse 2024-10-06 05:16:29 +03:00
parent 71a58aa763
commit 0c98b869d3
3 changed files with 5 additions and 5 deletions

View File

@ -159,10 +159,10 @@ impl App {
}
// Assign browser window to this application
browser.widget_gobject().set_application(Some(this));
browser.gobject().set_application(Some(this));
// Show main widget
browser.widget_gobject().present();
browser.gobject().present();
}
});

View File

@ -99,7 +99,7 @@ impl Browser {
let widget = Arc::new(Widget::new(
profile_database_connection.clone(),
header.widget(),
window.widget_gobject(),
window.gobject(),
));
// Assign actions
@ -280,7 +280,7 @@ impl Browser {
}
// Getters
pub fn widget_gobject(&self) -> &ApplicationWindow {
pub fn gobject(&self) -> &ApplicationWindow {
&self.widget.gobject()
}
}

View File

@ -86,7 +86,7 @@ impl Window {
self.tab.page_description()
}
pub fn widget_gobject(&self) -> &Box {
pub fn gobject(&self) -> &Box {
&self.widget.gobject()
}
}