summaryrefslogtreecommitdiffstats
path: root/tools/editor/plugins/sample_player_editor_plugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/editor/plugins/sample_player_editor_plugin.cpp')
-rw-r--r--tools/editor/plugins/sample_player_editor_plugin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/editor/plugins/sample_player_editor_plugin.cpp b/tools/editor/plugins/sample_player_editor_plugin.cpp
index dd6450bfe7..7e2683dedf 100644
--- a/tools/editor/plugins/sample_player_editor_plugin.cpp
+++ b/tools/editor/plugins/sample_player_editor_plugin.cpp
@@ -54,8 +54,8 @@ void SamplePlayerEditor::_node_removed(Node *p_node) {
void SamplePlayerEditor::_bind_methods() {
- ClassDB::bind_method(_MD("_play"),&SamplePlayerEditor::_play);
- ClassDB::bind_method(_MD("_stop"),&SamplePlayerEditor::_stop);
+ ClassDB::bind_method(D_METHOD("_play"),&SamplePlayerEditor::_play);
+ ClassDB::bind_method(D_METHOD("_stop"),&SamplePlayerEditor::_stop);
}