diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-07-24 08:07:32 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-07-24 08:07:32 +0200 |
commit | 374cffaa11f380c867c831a74d4579adf15c8a5a (patch) | |
tree | be85163dfd42240a5dee577f12dbcb078692b1f3 /scene/resources/theme.cpp | |
parent | 574ec97b8b5cb5afc6bc39f7f9a065fed8ba58c1 (diff) | |
parent | 2777f81d290e4b9a17afedc100a5b83666e04495 (diff) |
Merge pull request #9764 from Noshyaar/pr-fix2
Add object type hint for docs
Diffstat (limited to 'scene/resources/theme.cpp')
-rw-r--r-- | scene/resources/theme.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/resources/theme.cpp b/scene/resources/theme.cpp index faf9f31b43..d5c68457d0 100644 --- a/scene/resources/theme.cpp +++ b/scene/resources/theme.cpp @@ -660,8 +660,8 @@ void Theme::_bind_methods() { ClassDB::bind_method(D_METHOD("clear_constant", "name", "type"), &Theme::clear_constant); ClassDB::bind_method(D_METHOD("get_constant_list", "type"), &Theme::_get_constant_list); - ClassDB::bind_method(D_METHOD("set_default_font", "font"), &Theme::set_default_theme_font); - ClassDB::bind_method(D_METHOD("get_default_font"), &Theme::get_default_theme_font); + ClassDB::bind_method(D_METHOD("set_default_font", "font:Font"), &Theme::set_default_theme_font); + ClassDB::bind_method(D_METHOD("get_default_font:Font"), &Theme::get_default_theme_font); ClassDB::bind_method(D_METHOD("get_type_list", "type"), &Theme::_get_type_list); |