mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
enshort method name
This commit is contained in:
parent
71a58aa763
commit
0c98b869d3
3 changed files with 5 additions and 5 deletions
|
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -86,7 +86,7 @@ impl Window {
|
|||
self.tab.page_description()
|
||||
}
|
||||
|
||||
pub fn widget_gobject(&self) -> &Box {
|
||||
pub fn gobject(&self) -> &Box {
|
||||
&self.widget.gobject()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue