mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-05 17:16:04 +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:
parent
9dbfba0879
commit
952f6bbb2a
Notes:
sideshowbarker
2024-07-17 18:38:54 +09:00
Author: https://github.com/MacDue
Commit: 952f6bbb2a
Pull-request: https://github.com/SerenityOS/serenity/pull/18054
Reviewed-by: https://github.com/awesomekling
Reviewed-by: https://github.com/linusg
2 changed files with 3 additions and 3 deletions
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
|
||||
endpoint WindowServer
|
||||
{
|
||||
create_menu(i32 menu_id, [UTF8] DeprecatedString menu_title) =|
|
||||
create_menu(i32 menu_id, [UTF8] DeprecatedString name) =|
|
||||
destroy_menu(i32 menu_id) =|
|
||||
|
||||
add_menu(i32 window_id, i32 menu_id) =|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue