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);