From 29d5fee07ec7743855a938849f08e4b3c72ecc89 Mon Sep 17 00:00:00 2001 From: Astraeus- Date: Sat, 18 Dec 2021 11:42:50 +0100 Subject: FlappyBug: Convert to try_create_default_icon --- Userland/Games/FlappyBug/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Games/FlappyBug/main.cpp b/Userland/Games/FlappyBug/main.cpp index 8526548081..008a9f4fbc 100644 --- a/Userland/Games/FlappyBug/main.cpp +++ b/Userland/Games/FlappyBug/main.cpp @@ -32,7 +32,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto window = TRY(GUI::Window::try_create()); window->resize(FlappyBug::Game::game_width, FlappyBug::Game::game_height); - auto app_icon = GUI::Icon::default_icon("app-flappybug"); + auto app_icon = TRY(GUI::Icon::try_create_default_icon("app-flappybug")); window->set_icon(app_icon.bitmap_for_size(16)); window->set_title("Flappy Bug"); window->set_double_buffering_enabled(false); -- cgit v1.2.3