From 32b8795091681de7296074fb9a7b4f63a17e475a Mon Sep 17 00:00:00 2001 From: Vitaly Dyachkov Date: Fri, 11 Feb 2022 17:33:09 +0100 Subject: LibConfig: Rename pledge_domains(String) => pledge_domain(String) pledge_domains() that takes only one String argument was specifically added as a shortcut for pledging a single domain. So, it makes sense to use singular here. --- Userland/Applications/TextEditor/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Userland/Applications/TextEditor') diff --git a/Userland/Applications/TextEditor/main.cpp b/Userland/Applications/TextEditor/main.cpp index 59c66e0e40..8c702c0992 100644 --- a/Userland/Applications/TextEditor/main.cpp +++ b/Userland/Applications/TextEditor/main.cpp @@ -22,7 +22,7 @@ ErrorOr serenity_main(Main::Arguments arguments) auto app = TRY(GUI::Application::try_create(arguments)); - Config::pledge_domains("TextEditor"); + Config::pledge_domain("TextEditor"); char const* preview_mode = "auto"; char const* file_to_edit = nullptr; -- cgit v1.2.3