summaryrefslogtreecommitdiff
path: root/tests/test_gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_gui.cpp')
-rw-r--r--tests/test_gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_gui.cpp b/tests/test_gui.cpp
index a4559687c8..a1a5ca0d4e 100644
--- a/tests/test_gui.cpp
+++ b/tests/test_gui.cpp
@@ -63,8 +63,8 @@ public:
virtual void request_quit() {
quit();
}
- virtual void init() {
- SceneTree::init();
+ virtual void initialize() {
+ SceneTree::initialize();
Panel *frame = memnew(Panel);
frame->set_anchor(SIDE_RIGHT, Control::ANCHOR_END);