diff options
| author | Rémi Verschelde <remi@verschelde.fr> | 2023-01-18 17:40:13 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-18 17:40:13 +0100 |
| commit | bcaf048f33b21b2c26d1c861200231f23d7849db (patch) | |
| tree | 1fcd45d5e67befd03905e2fd0e94e11cae60052b /editor/plugins/script_text_editor.cpp | |
| parent | 3f10f9f5ef3d75bbbbdd57b7ac8b86972138f679 (diff) | |
| parent | 59ea36b87cb84ce40ebf702e65f0493dd1c40141 (diff) | |
| download | redot-engine-bcaf048f33b21b2c26d1c861200231f23d7849db.tar.gz | |
Merge pull request #71379 from KoBeWi/destruction_of_compatibility_function
Remove set_drag_forwarding_compat()
Diffstat (limited to 'editor/plugins/script_text_editor.cpp')
| -rw-r--r-- | editor/plugins/script_text_editor.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/editor/plugins/script_text_editor.cpp b/editor/plugins/script_text_editor.cpp index 4d525cc5a9..6bb725f7a0 100644 --- a/editor/plugins/script_text_editor.cpp +++ b/editor/plugins/script_text_editor.cpp @@ -1490,14 +1490,6 @@ void ScriptTextEditor::_notification(int p_what) { } } -void ScriptTextEditor::_bind_methods() { - ClassDB::bind_method("_update_connected_methods", &ScriptTextEditor::_update_connected_methods); - - ClassDB::bind_method("_get_drag_data_fw", &ScriptTextEditor::get_drag_data_fw); - ClassDB::bind_method("_can_drop_data_fw", &ScriptTextEditor::can_drop_data_fw); - ClassDB::bind_method("_drop_data_fw", &ScriptTextEditor::drop_data_fw); -} - Control *ScriptTextEditor::get_edit_menu() { return edit_hb; } @@ -2167,7 +2159,7 @@ ScriptTextEditor::ScriptTextEditor() { connection_info_dialog = memnew(ConnectionInfoDialog); - code_editor->get_text_editor()->set_drag_forwarding_compat(this); + SET_DRAG_FORWARDING_GCD(code_editor, ScriptTextEditor); } ScriptTextEditor::~ScriptTextEditor() { |
