mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
remove deprecated feature
This commit is contained in:
parent
50158c2f64
commit
ee8f7f69af
4 changed files with 3 additions and 25 deletions
|
|
@ -12,7 +12,6 @@ impl Widget {
|
|||
|
||||
/// Build new `Self`
|
||||
pub fn build(
|
||||
name: &str,
|
||||
// Components
|
||||
navigation: &impl IsA<gtk::Widget>,
|
||||
content: &impl IsA<gtk::Widget>,
|
||||
|
|
@ -20,10 +19,7 @@ impl Widget {
|
|||
input: &impl IsA<gtk::Widget>,
|
||||
) -> Self {
|
||||
// Init self
|
||||
let g_box = Box::builder()
|
||||
.orientation(Orientation::Vertical)
|
||||
.name(name)
|
||||
.build();
|
||||
let g_box = Box::builder().orientation(Orientation::Vertical).build();
|
||||
|
||||
g_box.append(navigation);
|
||||
g_box.append(content);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue