aboutsummaryrefslogtreecommitdiff
path: root/core/bind/core_bind.cpp
diff options
context:
space:
mode:
authorRémi Verschelde2017-07-19 10:00:20 +0200
committerGitHub2017-07-19 10:00:20 +0200
commitc5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2 (patch)
tree540f8232f44a6fdc0646a6f3410fb644922d5cab /core/bind/core_bind.cpp
parent1f91c2908e7c551c20dc00d88212e0aaad44f4cf (diff)
parent49c7620326a557bc809340dd1090b46120e43eac (diff)
downloadgodot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.gz
godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.tar.zst
godot-c5ba9d9b7c6d7d2c08d01b13af87748af4dee8a2.zip
Merge pull request #9703 from Noshyaar/docs
Add object type hint for docs
Diffstat (limited to 'core/bind/core_bind.cpp')
-rw-r--r--core/bind/core_bind.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/bind/core_bind.cpp b/core/bind/core_bind.cpp
index a5ec9c1af..694e077f4 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);