Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Signal connect binds #63595

Merged
merged 1 commit into from
Jul 29, 2022

Conversation

reduz
Copy link
Member

@reduz reduz commented Jul 28, 2022

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 is the final part of the work started by #36368, #36393 and #42683 (and further work by Kobewi) to replace the signal system by one made entirely with callables.

NOTE: The documentation in Object.connect is now outdated and, because its not trivial, its probably better the documentation team rewrites this and the examples (which are already in part outdated in the C# side).

@reduz reduz requested review from a team as code owners July 28, 2022 21:01
core/variant/callable.cpp Outdated Show resolved Hide resolved
@reduz reduz force-pushed the remove-signal-connect-binds branch from 0d49810 to 1de3d3a Compare July 29, 2022 08:50
@reduz reduz requested a review from a team as a code owner July 29, 2022 08:50
@reduz reduz force-pushed the remove-signal-connect-binds branch from 1de3d3a to ea8fd0e Compare July 29, 2022 09:55
@reduz reduz requested review from a team as code owners July 29, 2022 09:55
@reduz reduz force-pushed the remove-signal-connect-binds branch 2 times, most recently from ea28331 to 5718741 Compare July 29, 2022 11:59
Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind().
Changed all uses of it to Callable.bind()
@reduz reduz force-pushed the remove-signal-connect-binds branch from 5718741 to d4433ae Compare July 29, 2022 14:26
Copy link
Member

@akien-mga akien-mga left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me.

@akien-mga akien-mga merged commit 7199314 into godotengine:master Jul 29, 2022
@akien-mga
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants