summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstraeus- <Astraeus-@users.noreply.github.com>2021-12-18 11:38:35 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-18 23:36:59 +0100
commita15b86cd015445a3100c97f7729db2f859ce9629 (patch)
treed649ce2e6f97a950562ed7a59984b736678c7740
parent38f47a79d093a2b11860de6b31cfc8f0b49bf91f (diff)
downloadserenity-a15b86cd015445a3100c97f7729db2f859ce9629.zip
Snake: Convert to try_create_default_icon
-rw-r--r--Userland/Games/Snake/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/Snake/main.cpp b/Userland/Games/Snake/main.cpp
index 118e288ebf..e2881c60aa 100644
--- a/Userland/Games/Snake/main.cpp
+++ b/Userland/Games/Snake/main.cpp
@@ -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());