summaryrefslogtreecommitdiff
path: root/Documentation/Patterns.md
diff options
context:
space:
mode:
authorItamar <itamar8910@gmail.com>2022-02-25 12:39:33 +0200
committerAndreas Kling <kling@serenityos.org>2022-02-25 22:35:12 +0100
commit935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5 (patch)
tree651928926497d516331807724ff448346996538e /Documentation/Patterns.md
parentaf132fdbd183f82a55a8c03e1e1d2ba275f41067 (diff)
downloadserenity-935d0239676a6d71e3f7fc4d7e37c15d4b1fa6f5.zip
Userland: Rename WindowServerConnection=>ConnectionToWindowServer
This was done with CLion's automatic rename feature.
Diffstat (limited to 'Documentation/Patterns.md')
-rw-r--r--Documentation/Patterns.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/Documentation/Patterns.md b/Documentation/Patterns.md
index 6cb2628997..4e9d8bb76c 100644
--- a/Documentation/Patterns.md
+++ b/Documentation/Patterns.md
@@ -30,7 +30,7 @@ ErrorOr<NonnullRefPtr<Menu>> Window::try_add_menu(String name)
auto menu = TRY(m_menubar->try_add_menu({}, move(name)));
if (m_window_id) {
menu->realize_menu_if_needed();
- WindowServerConnection::the().async_add_menu(m_window_id, menu->menu_id());
+ ConnectionToWindowServer::the().async_add_menu(m_window_id, menu->menu_id());
}
return menu;
}