Skip to content

Conversation

@JakeStanger
Copy link
Contributor

The crate incorrectly marks the bindings to gtk_style_context_add_provider_for_display and gtk_style_context_remove_provider_for_display as deprecated, linking to the same methods as alternatives.

The official docs do not mark this functions as deprecated:
https://docs.gtk.org/gtk4/type_func.StyleContext.add_provider_for_display.html
https://docs.gtk.org/gtk4/type_func.StyleContext.remove_provider_for_display.html

@sdroege sdroege merged commit 7283246 into gtk-rs:main Oct 30, 2025
38 of 41 checks passed
@bilelmoussaoui
Copy link
Member

Why was this merged? this is incorrect. Those are just functions and are not part of that type.

@sdroege
Copy link
Member

sdroege commented Oct 30, 2025

This is indeed confusing. Sorry for missing that, I'll revert

@sdroege
Copy link
Member

sdroege commented Oct 30, 2025

Reverted

@JakeStanger
Copy link
Contributor Author

Sorry I'm not sure I understand?

I have spotted I've removed the doc aliases which is definitely incorrect.

@sdroege
Copy link
Member

sdroege commented Oct 30, 2025

gtk::style_context_add_provider_for_display() vs. gtk::StyleContext::add_provider_for_display()

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.

3 participants