From ff3272b60d1b3863f32849b2c1a1e311a1d9ce98 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 11:41:35 +0100 Subject: [PATCH] GameOfLife: Convert to try_create_default_icon --- Userland/Games/GameOfLife/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/GameOfLife/main.cpp b/Userland/Games/GameOfLife/main.cpp index 78f2e2e1579..72a159eaaeb 100644 --- a/Userland/Games/GameOfLife/main.cpp +++ b/Userland/Games/GameOfLife/main.cpp @@ -34,7 +34,7 @@ ErrorOr 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));