summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAstraeus- <Astraeus-@users.noreply.github.com>2021-12-18 11:41:35 +0100
committerAndreas Kling <kling@serenityos.org>2021-12-18 23:36:59 +0100
commitff3272b60d1b3863f32849b2c1a1e311a1d9ce98 (patch)
tree023382a59c643f7ffc667cb8a2a00e21d7528ac8
parenta15b86cd015445a3100c97f7729db2f859ce9629 (diff)
downloadserenity-ff3272b60d1b3863f32849b2c1a1e311a1d9ce98.zip
GameOfLife: Convert to try_create_default_icon
-rw-r--r--Userland/Games/GameOfLife/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp
index 78f2e2e157..72a159eaae 100644
--- a/Userland/Games/GameOfLife/main.cpp
+++ b/Userland/Games/GameOfLife/main.cpp
@@ -34,7 +34,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-gameoflife");
+ auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-gameoflife"));
auto window = TRY(GUI::Window::try_create());
window->set_icon(app_icon.bitmap_for_size(16));