diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2017-02-13 12:47:24 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2017-02-13 12:50:02 +0100 |
commit | 411ee71b4d2dd4dfb3c137b057e0cfcdb55d6291 (patch) | |
tree | a3c28058efb7a80faed23bff683fe0931859ed52 /tools/editor/resources_dock.cpp | |
parent | bf64df4427836a4e7a5060ee11d75eea6da79b14 (diff) |
Rename the _MD macro to D_METHOD
This new name also makes its purpose a little clearer
This is a step towards fixing #56
Diffstat (limited to 'tools/editor/resources_dock.cpp')
-rw-r--r-- | tools/editor/resources_dock.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/editor/resources_dock.cpp b/tools/editor/resources_dock.cpp index e89262db25..5348c8c122 100644 --- a/tools/editor/resources_dock.cpp +++ b/tools/editor/resources_dock.cpp @@ -322,12 +322,12 @@ void ResourcesDock::_create() { void ResourcesDock::_bind_methods() { - ClassDB::bind_method(_MD("_tool_selected"),&ResourcesDock::_tool_selected); - ClassDB::bind_method(_MD("_create"),&ResourcesDock::_create); - ClassDB::bind_method(_MD("_resource_selected"),&ResourcesDock::_resource_selected); - ClassDB::bind_method(_MD("_delete"),&ResourcesDock::_delete); - ClassDB::bind_method(_MD("remove_resource"),&ResourcesDock::remove_resource); - ClassDB::bind_method(_MD("_file_action"),&ResourcesDock::_file_action); + ClassDB::bind_method(D_METHOD("_tool_selected"),&ResourcesDock::_tool_selected); + ClassDB::bind_method(D_METHOD("_create"),&ResourcesDock::_create); + ClassDB::bind_method(D_METHOD("_resource_selected"),&ResourcesDock::_resource_selected); + ClassDB::bind_method(D_METHOD("_delete"),&ResourcesDock::_delete); + ClassDB::bind_method(D_METHOD("remove_resource"),&ResourcesDock::remove_resource); + ClassDB::bind_method(D_METHOD("_file_action"),&ResourcesDock::_file_action); |