1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-01 02:18:12 +00:00

Snake: Convert to try_create_default_icon

This commit is contained in:
Astraeus- 2021-12-18 11:38:35 +01:00 committed by Andreas Kling
parent 38f47a79d0
commit a15b86cd01

View file

@ -31,7 +31,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
TRY(Core::System::unveil("/res", "r"));
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());