summaryrefslogtreecommitdiff
path: root/Userland/Demos/Mouse/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Userland/Demos/Mouse/main.cpp')
-rw-r--r--Userland/Demos/Mouse/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/Mouse/main.cpp b/Userland/Demos/Mouse/main.cpp
index a34c16181a..87d1e68761 100644
--- a/Userland/Demos/Mouse/main.cpp
+++ b/Userland/Demos/Mouse/main.cpp
@@ -160,7 +160,7 @@ private:
ErrorOr<int> serenity_main(Main::Arguments arguments)
{
auto app = TRY(GUI::Application::try_create(arguments));
- auto app_icon = GUI::Icon::default_icon("app-mouse");
+ auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-mouse"));
TRY(Core::System::pledge("stdio recvfd sendfd rpath"));
TRY(Core::System::unveil("/res", "r"));