mirror of
https://github.com/YGGverse/Yoda.git
synced 2025-02-04 23:44:13 +00:00
enshort method name
This commit is contained in:
parent
71a58aa763
commit
0c98b869d3
@ -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…
x
Reference in New Issue
Block a user