diff options
| author | Ignacio Etcheverry | 2017-08-09 13:19:41 +0200 |
|---|---|---|
| committer | Ignacio Etcheverry | 2017-08-10 07:17:50 +0200 |
| commit | 2f290038d63b55e6ce40296602f36bc98ab26015 (patch) | |
| tree | 170fd3a3096625b57ea2dc32fdee096565b161b0 /scene/gui/button.cpp | |
| parent | 1e74f27f8fe962f51e6b1786f861c89863492745 (diff) | |
| download | godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.gz godot-2f290038d63b55e6ce40296602f36bc98ab26015.tar.zst godot-2f290038d63b55e6ce40296602f36bc98ab26015.zip | |
Diffstat (limited to 'scene/gui/button.cpp')
| -rw-r--r-- | scene/gui/button.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scene/gui/button.cpp b/scene/gui/button.cpp index 03798c01a..9a0b3b3c8 100644 --- a/scene/gui/button.cpp +++ b/scene/gui/button.cpp @@ -236,8 +236,8 @@ void Button::_bind_methods() { ClassDB::bind_method(D_METHOD("set_text", "text"), &Button::set_text); ClassDB::bind_method(D_METHOD("get_text"), &Button::get_text); - ClassDB::bind_method(D_METHOD("set_button_icon", "texture:Texture"), &Button::set_icon); - ClassDB::bind_method(D_METHOD("get_button_icon:Texture"), &Button::get_icon); + ClassDB::bind_method(D_METHOD("set_button_icon", "texture"), &Button::set_icon); + ClassDB::bind_method(D_METHOD("get_button_icon"), &Button::get_icon); ClassDB::bind_method(D_METHOD("set_flat", "enabled"), &Button::set_flat); ClassDB::bind_method(D_METHOD("set_clip_text", "enabled"), &Button::set_clip_text); ClassDB::bind_method(D_METHOD("get_clip_text"), &Button::get_clip_text); |
