mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-17 06:52:23 +00:00
CatDog: Convert to try_create_default_icon
This commit is contained in:
parent
3e4e055c76
commit
b02da2442f
Notes:
sideshowbarker
2024-07-17 22:37:32 +09:00
Author: https://github.com/Astraeus-
Commit: b02da2442f
Pull-request: https://github.com/SerenityOS/serenity/pull/11293
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ ErrorOr<int> 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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue