diff options
author | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-19 02:03:34 +0700 |
---|---|---|
committer | Poommetee Ketson <poommetee@protonmail.com> | 2017-07-19 02:03:34 +0700 |
commit | 49c7620326a557bc809340dd1090b46120e43eac (patch) | |
tree | 887ca12413c5d7d21bb9ac3190a1d81bb57157b7 /core/bind/core_bind.cpp | |
parent | 5a42bbaace7d8a72e2842f760c6ac905ac238d2c (diff) |
Add object type hint for docs
Diffstat (limited to 'core/bind/core_bind.cpp')
-rw-r--r-- | core/bind/core_bind.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp index a5ec9c1afc..694e077f48 100644 --- a/core/bind/core_bind.cpp +++ b/core/bind/core_bind.cpp @@ -1038,7 +1038,7 @@ void _OS::_bind_methods() { &_OS::get_unix_time_from_datetime); ClassDB::bind_method(D_METHOD("get_system_time_secs"), &_OS::get_system_time_secs); - ClassDB::bind_method(D_METHOD("set_icon", "icon"), &_OS::set_icon); + ClassDB::bind_method(D_METHOD("set_icon", "icon:Image"), &_OS::set_icon); ClassDB::bind_method(D_METHOD("get_exit_code"), &_OS::get_exit_code); ClassDB::bind_method(D_METHOD("set_exit_code", "code"), &_OS::set_exit_code); |