Closed ryonakano closed 11 months ago
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:
Gtk.Widget.add_css_class
Gtk.Widget.remove_css_class
gtk4
https://github.com/elementary/granite/blob/11b720ebc92b5776a367141e93d8c303e5c8813d/meson.build#L52
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
andGtk.Widget.remove_css_class
are available on any version of Gtk 4, so we don't need to change required version ofgtk4
dependency here:https://github.com/elementary/granite/blob/11b720ebc92b5776a367141e93d8c303e5c8813d/meson.build#L52