gtk: Fixes warnings about obsolete components (#4049)

* gtk: Fixes warnings about obsolete components

* remove wrong using
This commit is contained in:
Ac_K 2022-12-07 01:49:37 +01:00 committed by GitHub
parent f23b2878cc
commit 752b93d3b7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 13 additions and 12 deletions

View file

@ -46,7 +46,7 @@ namespace Ryujinx.Ui.Windows
SetDefaultSize(740, 400);
SetPosition(WindowPosition.Center);
VBox vbox = new VBox(false, 0);
Box vbox = new(Orientation.Vertical, 0);
Add(vbox);
ScrolledWindow scrolledWindow = new ScrolledWindow
@ -55,7 +55,7 @@ namespace Ryujinx.Ui.Windows
};
scrolledWindow.SetPolicy(PolicyType.Automatic, PolicyType.Automatic);
HBox hbox = new HBox(false, 0);
Box hbox = new(Orientation.Horizontal, 0);
Button chooseButton = new Button()
{