1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

WindowServer: Rename menu_title to name in IPC API

This is referred to as the name everywhere else, so we should be
consistent here.
This commit is contained in:
MacDue 2023-03-26 21:22:45 +01:00 committed by Linus Groh
parent 9dbfba0879
commit 952f6bbb2a
2 changed files with 3 additions and 3 deletions

View file

@ -90,9 +90,9 @@ void ConnectionFromClient::notify_about_new_screen_rects()
async_screen_rects_changed(Screen::rects(), Screen::main().index(), wm.window_stack_rows(), wm.window_stack_columns());
}
void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& menu_title)
void ConnectionFromClient::create_menu(i32 menu_id, DeprecatedString const& name)
{
auto menu = Menu::construct(this, menu_id, menu_title);
auto menu = Menu::construct(this, menu_id, name);
m_menus.set(menu_id, move(menu));
}