From d12359ff206a269f3d3ca7d14f218ada14d43329 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 12:22:17 +0100 Subject: [PATCH] WidgetGallery: Convert to try_create_default_icon --- Userland/Demos/WidgetGallery/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Demos/WidgetGallery/main.cpp b/Userland/Demos/WidgetGallery/main.cpp index 16766751ac..5e3c5e26ee 100644 --- a/Userland/Demos/WidgetGallery/main.cpp +++ b/Userland/Demos/WidgetGallery/main.cpp @@ -22,7 +22,7 @@ ErrorOr serenity_main(Main::Arguments arguments) TRY(Core::System::unveil("/home/anon", "r")); TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r")); TRY(Core::System::unveil(nullptr, nullptr)); - auto app_icon = GUI::Icon::default_icon("app-widget-gallery"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-widget-gallery")); auto window = TRY(GUI::Window::try_create()); window->resize(430, 480);