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

Replace Gtk.Widget.get_style_context deprecated in Gtk 4.10 #672

Merged
merged 2 commits into from
Dec 3, 2023

Conversation

ryonakano
Copy link
Contributor

@ryonakano ryonakano commented Dec 2, 2023

It is deprecated in Gtk 4.10: https://valadoc.org/gtk4/Gtk.Widget.get_style_context.html

The alternative methods Gtk.Widget.add_css_class and Gtk.Widget.remove_css_class are available on any version of Gtk 4, so we don't need to change required version of gtk4 dependency here:

dependency('gtk4', version: '>=4.4'),

@ryonakano ryonakano merged commit 264cdc5 into main Dec 3, 2023
5 checks passed
@ryonakano ryonakano deleted the ryonakano/replace-deprecated-style-context branch December 3, 2023 02:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants