diff options
author | Vitaly Dyachkov <obyknovenius@me.com> | 2022-02-11 17:33:09 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-02-11 18:06:39 +0100 |
commit | 32b8795091681de7296074fb9a7b4f63a17e475a (patch) | |
tree | 90c7af82261061473d234ca4e6dbfc6dafa85d28 /Userland/Services/Taskbar | |
parent | 873f4d5de62aab78e8b05efbb3e566de0efa7de4 (diff) | |
download | serenity-32b8795091681de7296074fb9a7b4f63a17e475a.zip |
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.
Diffstat (limited to 'Userland/Services/Taskbar')
-rw-r--r-- | Userland/Services/Taskbar/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Services/Taskbar/main.cpp b/Userland/Services/Taskbar/main.cpp index b4d4c9c4cb..d581256f57 100644 --- a/Userland/Services/Taskbar/main.cpp +++ b/Userland/Services/Taskbar/main.cpp @@ -39,7 +39,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) { TRY(Core::System::pledge("stdio recvfd sendfd proc exec rpath unix sigaction")); auto app = TRY(GUI::Application::try_create(arguments)); - Config::pledge_domains("Taskbar"); + Config::pledge_domain("Taskbar"); Config::monitor_domain("Taskbar"); app->event_loop().register_signal(SIGCHLD, [](int) { // Wait all available children |