mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 13:47:45 +00:00
Snake: Convert to try_create_default_icon
This commit is contained in:
parent
38f47a79d0
commit
a15b86cd01
1 changed files with 1 additions and 1 deletions
|
@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
TRY(Core::System::unveil("/res", "r"));
|
TRY(Core::System::unveil("/res", "r"));
|
||||||
TRY(Core::System::unveil(nullptr, nullptr));
|
TRY(Core::System::unveil(nullptr, nullptr));
|
||||||
|
|
||||||
auto app_icon = GUI::Icon::default_icon("app-snake");
|
auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-snake"));
|
||||||
|
|
||||||
auto window = TRY(GUI::Window::try_create());
|
auto window = TRY(GUI::Window::try_create());
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue