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

Eq / Hash / etc. for glib::object::WeakRef #39

Closed
mmstick opened this issue Jul 5, 2019 · 4 comments
Closed

Eq / Hash / etc. for glib::object::WeakRef #39

mmstick opened this issue Jul 5, 2019 · 4 comments
Labels
enhancement New feature or request glib

Comments

@mmstick
Copy link
Contributor

mmstick commented Jul 5, 2019

Would it be a bad idea for weak references to derive Eq / Hash / PartialEq / etc.as the GTK widgets do? Currently in a situation where it would be ideal if I could store a collection of weak references in a HashSet.

@sdroege
Copy link
Member

sdroege commented Jul 5, 2019

Sounds like a good idea, yes. Want to send a PR?

@mmstick
Copy link
Contributor Author

mmstick commented Jul 5, 2019

Sure thing.

@sdroege
Copy link
Member

sdroege commented Jul 15, 2019

What's the status here? :)

@sdroege sdroege transferred this issue from gtk-rs/gtk Sep 11, 2020
@sdroege sdroege transferred this issue from gtk-rs/glib Nov 9, 2020
elmarco referenced this issue in elmarco/gtk-rs Feb 10, 2021
@GuillaumeGomez GuillaumeGomez transferred this issue from gtk-rs/gtk3-rs May 14, 2021
@sdroege sdroege added enhancement New feature or request glib labels May 18, 2021
@sdroege
Copy link
Member

sdroege commented Feb 17, 2023

Solved by #1006

@sdroege sdroege closed this as completed Feb 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request glib
Projects
None yet
Development

No branches or pull requests

2 participants