summaryrefslogtreecommitdiff
path: root/Applications/TextEditor
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-07-11 16:04:53 +0200
committerAndreas Kling <awesomekling@gmail.com>2019-07-11 16:04:53 +0200
commit323704c851d1e4cf6ccff89fa27b5498a4c73856 (patch)
treef61a9e0dcbfe359efd7da01230c4cba9970b943f /Applications/TextEditor
parenta35dc10f54f4dd069e9cd574378a27f103e8f266 (diff)
downloadserenity-323704c851d1e4cf6ccff89fa27b5498a4c73856.zip
TextEditor: Remove use of copy_ref().
Diffstat (limited to 'Applications/TextEditor')
-rw-r--r--Applications/TextEditor/main.cpp6
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");