You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-22 15:06:45 +00:00
Remove Signal connect binds
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
This commit is contained in:
@@ -1057,7 +1057,7 @@ void TextEdit::_notification(int p_what) {
|
||||
const Variant *argp[] = { &args[0], &args[1], &args[2] };
|
||||
Callable::CallError ce;
|
||||
Variant ret;
|
||||
gutter.custom_draw_callback.call(argp, 3, ret, ce);
|
||||
gutter.custom_draw_callback.callp(argp, 3, ret, ce);
|
||||
}
|
||||
} break;
|
||||
}
|
||||
@@ -2791,7 +2791,7 @@ String TextEdit::get_tooltip(const Point2 &p_pos) const {
|
||||
const Variant *argp[] = { &args[0] };
|
||||
Callable::CallError ce;
|
||||
Variant ret;
|
||||
tooltip_callback.call(argp, 1, ret, ce);
|
||||
tooltip_callback.callp(argp, 1, ret, ce);
|
||||
ERR_FAIL_COND_V_MSG(ce.error != Callable::CallError::CALL_OK, "", "Failed to call custom tooltip.");
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user