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

Override equals method for GObject.Object #1001

Open
badcel opened this issue Jan 15, 2024 · 0 comments
Open

Override equals method for GObject.Object #1001

badcel opened this issue Jan 15, 2024 · 0 comments
Labels
good first issue Good for newcomers
Milestone

Comments

@badcel
Copy link
Member

badcel commented Jan 15, 2024

Override equals method for GObject.Object Allows to compare classes to interfaces as interface instances are currently wrapped into a helper class which derives from GObject.Object.

if the pointer of both instances are compared equality can easily be checked.

changes should only be needed in Object.cs. Write a unit test to confirm behavior.

@badcel badcel added the good first issue Good for newcomers label Jan 15, 2024
@badcel badcel added this to the 0.16.0 milestone Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant