diff options
author | Andreas Kling <awesomekling@gmail.com> | 2019-07-11 16:04:53 +0200 |
---|---|---|
committer | Andreas Kling <awesomekling@gmail.com> | 2019-07-11 16:04:53 +0200 |
commit | 323704c851d1e4cf6ccff89fa27b5498a4c73856 (patch) | |
tree | f61a9e0dcbfe359efd7da01230c4cba9970b943f /Applications/TextEditor | |
parent | a35dc10f54f4dd069e9cd574378a27f103e8f266 (diff) | |
download | serenity-323704c851d1e4cf6ccff89fa27b5498a4c73856.zip |
TextEditor: Remove use of copy_ref().
Diffstat (limited to 'Applications/TextEditor')
-rw-r--r-- | Applications/TextEditor/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Applications/TextEditor/main.cpp b/Applications/TextEditor/main.cpp index 04bc938636..b0dbf8175d 100644 --- a/Applications/TextEditor/main.cpp +++ b/Applications/TextEditor/main.cpp @@ -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"); |