summaryrefslogtreecommitdiff
path: root/Userland
diff options
context:
space:
mode:
Diffstat (limited to 'Userland')
-rw-r--r--Userland/Applications/PixelPaint/IconBag.cpp2
-rw-r--r--Userland/Applications/PixelPaint/IconBag.h2
-rw-r--r--Userland/Applications/PixelPaint/main.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/Userland/Applications/PixelPaint/IconBag.cpp b/Userland/Applications/PixelPaint/IconBag.cpp
index 1d17cf90fd..2e344d8d43 100644
--- a/Userland/Applications/PixelPaint/IconBag.cpp
+++ b/Userland/Applications/PixelPaint/IconBag.cpp
@@ -8,7 +8,7 @@
#include <Applications/PixelPaint/IconBag.h>
namespace PixelPaint {
-ErrorOr<IconBag> IconBag::try_create()
+ErrorOr<IconBag> IconBag::create()
{
IconBag icon_bag;
diff --git a/Userland/Applications/PixelPaint/IconBag.h b/Userland/Applications/PixelPaint/IconBag.h
index 3fe1ae378a..cbdd3fc4d0 100644
--- a/Userland/Applications/PixelPaint/IconBag.h
+++ b/Userland/Applications/PixelPaint/IconBag.h
@@ -11,7 +11,7 @@
namespace PixelPaint {
struct IconBag final {
- static ErrorOr<IconBag> try_create();
+ static ErrorOr<IconBag> create();
RefPtr<Gfx::Bitmap> filetype_pixelpaint { nullptr };
RefPtr<Gfx::Bitmap> new_clipboard { nullptr };
diff --git a/Userland/Applications/PixelPaint/main.cpp b/Userland/Applications/PixelPaint/main.cpp
index 8ed439bc17..3bfa5bfb3a 100644
--- a/Userland/Applications/PixelPaint/main.cpp
+++ b/Userland/Applications/PixelPaint/main.cpp
@@ -40,7 +40,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
auto app_icon = GUI::Icon::default_icon("app-pixel-paint"sv);
- PixelPaint::g_icon_bag = TRY(PixelPaint::IconBag::try_create());
+ PixelPaint::g_icon_bag = TRY(PixelPaint::IconBag::create());
auto window = GUI::Window::construct();
window->set_title("Pixel Paint");