mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:37:34 +00:00
LibGUI: Remove Window::try_add_menu()
And fall back to the infallible add_menu().
This commit is contained in:
parent
5300896095
commit
bd61e75e0b
51 changed files with 294 additions and 302 deletions
|
@ -219,9 +219,8 @@ public:
|
|||
|
||||
void did_disable_focused_widget(Badge<Widget>);
|
||||
|
||||
Menu& add_menu(String name);
|
||||
ErrorOr<NonnullRefPtr<Menu>> try_add_menu(String name);
|
||||
ErrorOr<void> try_add_menu(NonnullRefPtr<Menu> menu);
|
||||
[[nodiscard]] NonnullRefPtr<Menu> add_menu(String name);
|
||||
void add_menu(NonnullRefPtr<Menu> menu);
|
||||
void flash_menubar_menu_for(MenuItem const&);
|
||||
|
||||
void flush_pending_paints_immediately();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue