From b02da2442f46ac4c70224ddb142d3e4014909712 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 12:16:31 +0100 Subject: [PATCH] CatDog: Convert to try_create_default_icon --- Userland/Demos/CatDog/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Demos/CatDog/main.cpp b/Userland/Demos/CatDog/main.cpp index 1043ea324d..9b780e62ee 100644 --- a/Userland/Demos/CatDog/main.cpp +++ b/Userland/Demos/CatDog/main.cpp @@ -22,7 +22,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::pledge("stdio recvfd sendfd rpath wpath cpath unix")); auto app = TRY(GUI::Application::try_create(arguments)); - auto app_icon = GUI::Icon::default_icon("app-catdog"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-catdog")); TRY(Core::System::pledge("stdio recvfd sendfd rpath")); TRY(Core::System::unveil("/res", "r"));