Skip to content
This repository has been archived by the owner on Mar 4, 2024. It is now read-only.

Consistently re-export subclassing preludes of dependency crates #228

Merged
merged 1 commit into from
Dec 20, 2020

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Dec 20, 2020

@bilelmoussaoui Same change is also needed for gtk4 I guess

#[doc(hidden)]
pub use gio::subclass::prelude::*;
#[doc(hidden)]
pub use glib::subclass::prelude::*;
Copy link
Member

Choose a reason for hiding this comment

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

What does it allow to do btw?

Copy link
Member Author

Choose a reason for hiding this comment

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

Not having to import all the subclass preludes every time. Same as what was done for the normal preludes.

Copy link
Member

Choose a reason for hiding this comment

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

I never used subclass so I really can't judge here. I'll trust you here. :)

@sdroege sdroege merged commit 50e1d94 into gtk-rs:master Dec 20, 2020
@sdroege sdroege deleted the subclass-preludes branch December 20, 2020 19:05
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants