mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-27 06:48:49 +00:00
IRCClient: Add menus.
This commit is contained in:
parent
746144f783
commit
5c2d405e1f
Notes:
sideshowbarker
2024-07-19 15:02:09 +09:00
Author: https://github.com/awesomekling
Commit: 5c2d405e1f
6 changed files with 75 additions and 34 deletions
|
@ -29,7 +29,7 @@ GMenu::~GMenu()
|
|||
unrealize_menu();
|
||||
}
|
||||
|
||||
void GMenu::add_action(RetainPtr<GAction>&& action)
|
||||
void GMenu::add_action(Retained<GAction>&& action)
|
||||
{
|
||||
m_items.append(make<GMenuItem>(move(action)));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue