mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-26 19:32:06 -05:00
TextEditor: Remove use of copy_ref().
This commit is contained in:
parent
a35dc10f54
commit
323704c851
1 changed files with 3 additions and 3 deletions
|
@ -83,9 +83,9 @@ int main(int argc, char** argv)
|
|||
menubar->add_menu(move(app_menu));
|
||||
|
||||
auto file_menu = make<GMenu>("File");
|
||||
file_menu->add_action(new_action.copy_ref());
|
||||
file_menu->add_action(open_action.copy_ref());
|
||||
file_menu->add_action(save_action.copy_ref());
|
||||
file_menu->add_action(new_action);
|
||||
file_menu->add_action(open_action);
|
||||
file_menu->add_action(save_action);
|
||||
menubar->add_menu(move(file_menu));
|
||||
|
||||
auto edit_menu = make<GMenu>("Edit");
|
||||
|
|
Loading…
Add table
Reference in a new issue